题意:给你一个半圆,半圆以面积每年增加50平方英里的速度扩张。问(x, y)在多少年后被覆盖、 思路:emmm,其实最开始,还是打表的,因为每一年的半圆的半径可以算出来。啊啊啊啊,其实这个方法是可以的。但是!!!wa了! 为什么?因为 ∏ 只可以取3.1415926 所以一直wa。 然后,看了网上的 ...
分类:
其他好文 时间:
2018-10-10 20:17:41
阅读次数:
161
图片转化为base64,传到前台展示 文件流转化为base64,传到前台展示 ...
分类:
其他好文 时间:
2018-10-09 15:00:28
阅读次数:
518
题目传送门 XHXJ's LIS Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4246 Accepted Submission(s): 177 ...
分类:
其他好文 时间:
2018-10-08 00:37:41
阅读次数:
176
一、题目 Chinese people think of '8' as the lucky digit. Bob also likes digit '8'. Moreover, Bob has his own lucky number L. Now he wants to construct his ...
分类:
其他好文 时间:
2018-10-07 13:00:54
阅读次数:
250
静态方法调用的三种方式: 1、new xx().静态(); //使用对象调用,不推荐2、xx.静态(); //类名调用,正规调用方法,推荐 3、静态(); //本类的静态方法在本类调用,直接调用 注意事项: 在同包不同类调用的时候,可以直接 类名.方法() 调用,无需创建对象。 在不同包调用的时候, ...
分类:
其他好文 时间:
2018-10-06 16:42:59
阅读次数:
220
问题 A: Too Rich 题目描述 You are a rich person, and you think your wallet is too heavy and full now. So you want to give me some money by buying a lovely p ...
分类:
其他好文 时间:
2018-10-04 11:32:12
阅读次数:
169
The high level of English is a standard for a top student. 1. Think great and you will become great. 2. Sometimes people who are thousands of miles aw ...
分类:
其他好文 时间:
2018-10-04 09:47:08
阅读次数:
190
//上传文件 public function uploadFile(){ $upload = new \Think\Upload(); $savename = date('Y-m-d').'-'.time();//使用date('Y-m-d H:i:s')作为文件名,因含有冒号,文件就无法保存了,文 ...
分类:
Web程序 时间:
2018-10-02 20:39:04
阅读次数:
223
无法加载模板跳向404页面 /thinkphp/library/think/Dispatcher.class.php中176行 // 加载模块的扩展配置文件 load_ext_file(MODULE_PATH); }else{ header("Location:/404.html");die; // ...
分类:
其他好文 时间:
2018-09-30 14:57:03
阅读次数:
292
本文转自:https://stackoverflow.com/questions/39755336/angular2-cannot-read-property-name-of-undefined 处理方式1: The variable selectedHero is null in the temp ...
分类:
其他好文 时间:
2018-09-29 10:17:09
阅读次数:
317