上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: windows走IOCP已经与我无缘了 Linux 则是epoll、select/poll epoll_create创建一个epoll文件描述符,底层是一个红黑树和一个就绪链表 红黑树存储文件描述符节点数据 就绪链表存储就绪的文件描述符节点数据 epoll_ctl添加新的描述符,先判断红黑树有没有这 阅读全文
posted @ 2016-09-24 12:35 Juntaran 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 只过了20%...我日 找到原因了,根节点不一定是0,MDZZ 代码第80行 树的高度 时间限制:C/C++语言 1000MS;其他语言 3000MS 内存限制:C/C++语言 65536KB;其他语言 589824KB 题目描述: 现在有一棵合法的二叉树,树的节点都是用数字表示, 现在给定这棵树上 阅读全文
posted @ 2016-09-23 21:11 Juntaran 阅读(2681) 评论(0) 推荐(0) 编辑
摘要: -i 指定网卡 选择tcp/udp 截取hostname/192.168.1.100收到所有包 源/目的端口80 以上为最常用命令 多个条件中间可以加 and 屏蔽条件可以加not src/dst portrange port1-port2 截取port1-port2范围内端口数据包 截取所有通过网 阅读全文
posted @ 2016-09-21 12:08 Juntaran 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 笔试的思路有点乱 重写一个 阅读全文
posted @ 2016-09-08 19:41 Juntaran 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 中兴面试问这个没答好,当时没太理解面试官意思 刚出了酒店突然明白面试官什么意思了 只需要记住向右看向左看原则即可 数组指针:一个指向一维数组的指针 int a[]; int* p = a; 32位下指针永远占4字节 指针数组:int *p[n] 每一个元素都是一个指针 阅读全文
posted @ 2016-09-07 11:32 Juntaran 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: 47_AddTwoNumbers.c 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 > Created T... 阅读全文
posted @ 2016-09-04 21:45 Juntaran 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: 46_Accumulate.c 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 > Created Time... 阅读全文
posted @ 2016-09-04 21:44 Juntaran 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: 45_LastNumberInCircle.cpp 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 ... 阅读全文
posted @ 2016-09-04 21:43 Juntaran 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: 44_ContinuesCards.cpp 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 > Create... 阅读全文
posted @ 2016-09-04 21:42 Juntaran 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: 43_Dics.cpp 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 > Created Time: 20... 阅读全文
posted @ 2016-09-04 21:41 Juntaran 阅读(166) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页