ZOJ1002 —— Fire net Time Limit: 2000 ms Memory Limit: 65536 KB Suppose that we have a square city with straight streets. A map of a city is a square b ...
分类:
其他好文 时间:
2020-01-27 14:00:53
阅读次数:
112
能理论与实战结合是最佳的学习环境;如果理论不成文,只关注实战也为学习环境的上策。 今日就已一个特例来感受一下。脑子里面总不能连一个粗糙的概念都没有吧? 加密一个文件 右键属性,如图所示。操作完成后加密文件显示为绿色 加密文件生成后,会出现证书 开始运行 certmgr.msc 打开证书管理器 会发现 ...
分类:
其他好文 时间:
2020-01-25 23:38:08
阅读次数:
226
什么是synchronized? synchronized 关键字,代表这个方法加锁,相当于不管哪一个线程(例如线程A),运行到这个方法时,都要检查有没有其它线程B(或者C、 D等)正在用这个方法(或者该类的其他同步方法),有的话要等正在使用synchronized方法的线程B(或者C 、D)运行完 ...
分类:
其他好文 时间:
2020-01-25 23:31:42
阅读次数:
93
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.Native ...
分类:
其他好文 时间:
2020-01-25 18:17:32
阅读次数:
135
You have some sticks with positive integer lengths. You can connect any two sticks of lengths X and Y into one stick by paying a cost of X + Y. You pe ...
分类:
其他好文 时间:
2020-01-24 09:32:12
阅读次数:
90
# 1 http_request.py import requests class HttpRequest: def http_request(self, url, method, data=None, cookie=None): try: if method.upper() == "GET": r ...
分类:
其他好文 时间:
2020-01-23 16:53:36
阅读次数:
101
①创建一个服务类 @Injectable() 在服务类中定义方法、数据 sendRequest ( myUrl : string ) { return this.http.get( myUrl ).map( (response : Response) => response.json() ) } ② ...
分类:
其他好文 时间:
2020-01-23 09:48:33
阅读次数:
99
42. Trapping Rain Water we need to find how many waters can each block[i] trap. So we need to find the left peak from block_0 to block[i-1] and find t ...
分类:
其他好文 时间:
2020-01-23 09:32:11
阅读次数:
89
There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any s ...
分类:
其他好文 时间:
2020-01-22 18:20:53
阅读次数:
96
管道 pipe filter?过滤器 是用来实现对数据的筛选,过滤,格式化 在angularJs中叫做 filter,升级 angular 之后叫做 pipe angular提供了丰富的内置过滤器,同时也支持自定义过滤器 angular管道的语法 <any {{ 表达式 | 管道 }}></any> ...
分类:
其他好文 时间:
2020-01-22 18:14:32
阅读次数:
87