"$ \rightarrow $ 戳我进CF原题 " G. Yet Another Maxflow Problem time limit per test: 4 seconds memory limit per test: 256 megabytes input: standard input ou ...
分类:
其他好文 时间:
2018-09-09 22:06:25
阅读次数:
193
《阿里巴巴java开发手册》线程池不使用 Executors 去创建,而是通过 ThreadPoolExecutor 的方式,这样 的处理方式让写的同学更加明确线程池的运行规则,规避资源耗尽的风险。 主要原因是使用Executors创建线程池不会传入这个参数而使用默认值所以我们常常忽略这一参数,而且 ...
分类:
其他好文 时间:
2018-09-09 12:01:32
阅读次数:
138
"$ \rightarrow $ 戳我进CF原题 " E. Fairy time limit per test: 1.5 seconds memory limit per test: 256 megabytes input: standard input output: standard outpu ...
分类:
其他好文 时间:
2018-09-08 22:36:05
阅读次数:
206
"$\rightarrow$ 戳我进CF原题 " E. Trial for Chief time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard ...
分类:
其他好文 时间:
2018-09-08 16:47:53
阅读次数:
136
其实在react中实现倒计时的跳转方法有很多中,其中我认为较为好用的就是通过定时器更改state中的时间值。 首先在constructor中设置10秒的时间值: 然后在componentDidMount中添加定时器: 然后在render中添加判断跳转 这种就可以完成倒计时跳转了! ...
分类:
其他好文 时间:
2018-09-08 15:31:26
阅读次数:
190
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit per test 2 seconds time limit ...
分类:
其他好文 时间:
2018-09-08 11:53:45
阅读次数:
214
"$ \Rightarrow $ 戳我进CF原题 " F. SUM and REPLACE time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standa ...
分类:
其他好文 时间:
2018-09-07 21:10:20
阅读次数:
250
例子1(scheduleAtFixedRate):延迟2秒后,每隔3秒执行1次 运行结果: 例子2(scheduleWithFixedDelay):延迟5秒后,每个任务执行完后延迟3秒在执行1次 运行结果: 本来是每隔3秒执行的,但是,由于某个任务处理时间过长,导致延后。本例是延后1秒,即4秒。 总 ...
分类:
编程语言 时间:
2018-09-07 20:11:50
阅读次数:
289
java script 日期对象Date() 1.获取当前时间 var time = new Date() document.write(time); 注意:如果Date() 有参数的话 返回1970年1月1日到指定毫秒数的时间 当参数为 n,q,w时 n代表年 q 代表月 q代表天 其中实际月份会 ...
分类:
编程语言 时间:
2018-09-05 15:02:13
阅读次数:
433
在公司内部DNS服务器上运行 nslookup 命令时,显示的DNS request timed out. timeout was 2 seconds. Default Server: UnKnown,如何解决呢?
分类:
其他好文 时间:
2018-09-05 09:09:51
阅读次数:
1160