第十三届浙江省大学生程序设计竞赛 I 题, 一道模拟题。 ZOJ 3944 http://www.icpc.moe/onlinejudge/showProblem.do?problemCode=3944 In a BG (dinner gathering) for ZJU ICPC team, th ...
分类:
其他好文 时间:
2016-05-29 18:25:05
阅读次数:
215
Lake Counting Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 28220 Accepted: 14160 Description Due to recent rains, water has pooled in va ...
分类:
其他好文 时间:
2016-05-29 18:13:12
阅读次数:
207
异常描述: The matching wildcard is strict, but no declaration can be found for element 'dubbo:reference' Multiple annotations found at this line: - schema ...
分类:
其他好文 时间:
2016-05-28 17:20:03
阅读次数:
163
UINavigationController Class Reference: 使用pushViewController切换到下一个视图时,navigation controller按照以下3条顺序更改导航栏的左侧按钮。 1、如果B视图有一个自定义的左侧按钮(leftBarButtonItem),则 ...
分类:
其他好文 时间:
2016-05-28 10:05:11
阅读次数:
141
用的是第三版的安装包:src.3e.tar.gz 地址:http://www.apuebook.com/ 1.解压:$ tar -zxvf *.tar.gz 2. $ cd apue.3e/ 3.编译:$ make 这个过程中报错: undefined reference to `heapsort'... ...
分类:
其他好文 时间:
2016-05-28 01:19:11
阅读次数:
331
In the reference manual,operator signatures are visualized in the following way: operator ( iconic input : iconic output : control input : control out ...
分类:
其他好文 时间:
2016-05-27 14:33:21
阅读次数:
164
前言在iOS5之后apple推出了相对于MRC(Mannul Reference Counting)的ARC(Automatic Reference Counting)的内存管理机制,前者是对内存的手动管理,后者是系统对内存的智能化管理。其实我学习iOS的时候已经推出到iOS7了,对于MRC机制我甚至连一知半解都算不上。有时候和iOS老司机交流的时候他们对于各种内存都很熟悉,感觉包括我在内的很多最近...
分类:
编程语言 时间:
2016-05-27 12:25:50
阅读次数:
229
iOS NSURLSessionConfiguration Reference一个NSURLSessionConfiguration对象定义的行为和策略被用于使用NSURLSession上传和下载数据,创建一个配置对象始终是你必须采取的第一步。你可以使用这个对象去配置你想要使用的NSURLSession对象的超时时间、缓存策略、连接请求以及其它类型的信息。在你使用它初始化一个NSURLSession...
分类:
移动开发 时间:
2016-05-27 11:59:12
阅读次数:
211
angular2路由是管理angular2应用内部导航的一个重要内容,在angular应用中,很多的组件是通过组合完成一个复杂的应用,不可避免的是我们常会在视图间切换,那么这是就需要使用路由来管理视图间的转换。 路由定义 先看一个简单的路由定义 ///<reference path="../node ...
分类:
Web程序 时间:
2016-05-27 11:02:07
阅读次数:
604
1.关于timeout设置 消费者调用提供者的服务时,超时时间默认为1000,重试次数默认为2次 dubbo的配置里有好多重复参数,比如timeout参数,各个xml的项里都有这个参数,消费者调用服务的时候,timeout参数起作用的优先级,method>reference>service>cons ...
分类:
其他好文 时间:
2016-05-26 17:15:54
阅读次数:
221