摘要: Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] 阅读全文
posted @ 2017-02-20 21:01 Madao东治 阅读(1071) 评论(0) 推荐(0) 编辑
摘要: 先贴个代码上来,晚点补全教程 编译环境:ubuntu16.04 编译命令(先编译执行服务端):g++ serv.cpp -o serv.out ./serv.out 客户端:g++ client.cpp -o serv.cpp ./client.out 可以实现三种命令:get <filename> 阅读全文
posted @ 2017-02-20 10:40 Madao东治 阅读(770) 评论(0) 推荐(1) 编辑