摘要: Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description The highest building in our city has only one elevator. A request lis 阅读全文
posted @ 2016-07-12 22:45 马丁黄瓜啊 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description Contest time again! How excited it is to see balloons floating around 阅读全文
posted @ 2016-07-12 22:41 马丁黄瓜啊 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 可变参数特点: 1)...只能出现在参数列表的最后2)...位于变量类型和变量名之间3)调用可变参数的方法时,编译器为该可变参数隐含创建一个数组,在方法体中以数组的形式访问可变参数 //可变参数也可用数组来解决这个问题 阅读全文
posted @ 2016-07-12 22:32 马丁黄瓜啊 阅读(386) 评论(0) 推荐(0) 编辑
摘要: daytimetcpsrv.c daytimetcpcli.c 输出结果:服务器端:xx@xxxxxx:~/Public/C$ ./daytimetcpsrv.out Waiting connection!客户机端:xx@xxxxxx:~/Public/C$ ./daytimetcpcli.out 阅读全文
posted @ 2016-07-12 22:31 马丁黄瓜啊 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 结果输出: 客户端:xx@xxxxxx:~/Public/C$ ./postBackCli.out 127.0.0.1connect OKaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcc#close OKxx@xxx 阅读全文
posted @ 2016-07-12 22:27 马丁黄瓜啊 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 作为Linux/Unix 系统编程入门,小生按照自己可以理解的方式,改写了源copy.c源代码来自:Linux/UNIX 系统编程手册 上册 P57 阅读全文
posted @ 2016-07-12 22:24 马丁黄瓜啊 阅读(370) 评论(0) 推荐(0) 编辑
摘要: Palindromes Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Description A regular palindrome is a string of numbers or letters that is 阅读全文
posted @ 2016-07-12 18:12 马丁黄瓜啊 阅读(201) 评论(0) 推荐(0) 编辑