- 博客(2)
- 收藏
- 关注
原创 leetcode :Minimum Moves to Equal Array Elements
题目:Given a non-empty integer array of size n, find the minimum number of moves required to make all array elements equal, where a move is incrementing n - 1 elements by 1.Input: [1,2,3]Output: 3Expla
2017-01-18 17:30:48 217
转载 socket编程
最近跟着队友一起开发:今天写一下socket编程。这个网址下讲的挺好的: (socket入门教程)下面开始了: linux socket 代码服务端:#include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <arpa/inet.h> #include <sys/socket.
2017-01-06 01:16:32 240
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人