#includeint main(int argc,char *argv[]){ //检查用户的参数是否正确 if(argc<3) { printf("用法:命令 源文件名 目标文件名\n"); return -1; } //先打开源文件 FILE *fin = fopen(argv[1],"r")...
分类:
编程语言 时间:
2015-08-06 20:16:00
阅读次数:
117
Dungeon Master
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 20912
Accepted: 8106
点击打开链接
Description
You are trapped in a 3D dungeon and need to fin...
分类:
其他好文 时间:
2015-08-06 16:57:58
阅读次数:
90
Lambda表达式只是用更简单的方式来写匿名方法,彻底简化了对.NET委托类型的使用。现在,如果我们要使用泛型 List 的 FindAll() 方法,当你从一个集合去提取子集时,可以使用该方法。// 该方法唯一的参数是一个System.Predicate类型的泛型委托public List Fin...
书名:Harry Potter and the Order of the Phoenix 作者:J.K. Rowling
篇幅: 870P
蓝思值:950L
用时: 22天工具: 有道词典
【透析成果】 这是我读完的第6本英文原著,用词典查了241个单词。
速度较上本稍有提升,继续努力。下面是所有单词:1, phoenix [‘fin?ks]
n. 凤凰;死而复生的人;...
分类:
其他好文 时间:
2015-07-30 11:17:40
阅读次数:
161
Hadoop windows编译:
参考building.txt以及http://wiki.apache.org/hadoop/Hadoop2OnWindows:
* Windows System - win8
* JDK 1.7+ - jdk1.8
* Maven 3.0 or later - maven 3.3
* Findbugs 1.3.9 (if running fin...
TCP(传输层协议)(1) 面向连接(2) 可靠的(3) 基于字节流的连接建立阶段:客户端 ------->SYN 服务端(服务器被动打开)客户端 ACK 服务端(连接建立)DDoS 攻击原理SYN/ACK丢包,超时连接终止阶段:客户端 ------->FIN 服务端客户端...
分类:
Web程序 时间:
2015-07-27 14:52:43
阅读次数:
144
1. 在Android工程需要用到jni的类中添加相应声明:public class GameData { final static String TAG = "GameData"; final static String INDEX_FILE = "index.li"; fin...
分类:
移动开发 时间:
2015-07-27 12:22:07
阅读次数:
99
TCP/IP深入思考TCP/IP这是我读Effective TCP/IP Programming的 读书笔记和思考,以及做的一些实验。强烈建议后端工程师有空读一读这本书,有些细节的确是我们平时没有注意的,读了最好自己动手做一些实验加深理解。fin的含义对端发送fin会导致read()返回,但send()照样可以发送,也就是单纯的fin其实相当于shutdown(SHUT_WR)。当对端应用程序崩溃后...
分类:
其他好文 时间:
2015-07-26 17:28:40
阅读次数:
220
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2015-07-20 19:39:27
阅读次数:
103
Dungeon MasterTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionYou are trapped in a 3D dungeon and need to fin...
分类:
其他好文 时间:
2015-07-17 11:42:49
阅读次数:
102