上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 47 下一页
摘要: #ifndef RC4_H #define RC4_H #define KEYLEN256 256 class rc4 { public: rc4(); ~rc4(); void swap(unsigned char *a, unsigned char *b); //initial state in 阅读全文
posted @ 2016-07-17 19:16 PKICA 阅读(355) 评论(0) 推荐(0)
摘要: //heads.h #ifndef HEAD_H #define HEAD_H #include <iostream> #include <sys/shm.h> //share momery #include <unistd.h> #include <stdio.h> #include <strin 阅读全文
posted @ 2016-07-14 21:34 PKICA 阅读(628) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/shipfi/archive/2008/08/04/1260293.html 感谢作者! 程序变量查看文件中某变量的值:file::variablefunction::variable可以通过这种形式指定你所想查看的变量,是哪个文件中的或是哪个函数中的。 阅读全文
posted @ 2016-07-12 06:27 PKICA 阅读(481) 评论(0) 推荐(0)
摘要: 时间限制:3000 ms | 内存限制:65535 KB 难度:4 //C v0.1 AC #include<stdio.h> #include <stdlib.h> #include <string.h> #include <alloca.h> struct rectangle { int len 阅读全文
posted @ 2016-07-10 17:47 PKICA 阅读(345) 评论(0) 推荐(0)
摘要: 300. Longest Increasing Subsequence 300. Longest Increasing Subsequence https://www.felix021.com/blog/read.php?entryid=1587&page=3&part=1 感谢作者! 标题:最长递 阅读全文
posted @ 2016-07-09 21:08 PKICA 阅读(333) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 int max(int a, int b); 5 int main() 6 { 7 int n; 8 scanf("%d", &n); 9 int i; 10 //arr stores data 11 int arr[101]; 12 //path sto... 阅读全文
posted @ 2016-07-09 16:10 PKICA 阅读(478) 评论(0) 推荐(0)
摘要: //pool.h 1 #ifndef POOL_H 2 #define POOL_H 3 #include 4 5 class pool 6 { 7 public: 8 pool(); 9 ~pool(); 10 11 void func(); 12 static void *schedule(void *ptr); 13 int s... 阅读全文
posted @ 2016-07-08 18:02 PKICA 阅读(726) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/scanery/article/details/7241890 感谢作者! 近来发现 在线程函数第一行调用 pthread_detach(pthread_self()) 返回值是22不是0,后来在网上找到以下话语: linux线程执行和windows不同,p 阅读全文
posted @ 2016-07-08 17:18 PKICA 阅读(431) 评论(0) 推荐(0)
摘要: http://www.hawstein.com/posts/dp-novice-to-advanced.html https://www.topcoder.com/community/data-science/data-science-tutorials/dynamic-programming-fr 阅读全文
posted @ 2016-07-03 21:56 PKICA 阅读(670) 评论(0) 推荐(0)
摘要: //C v0.01 不知题意,正在理解,正在(一)上修改。 <!--StartFragment-->#include <stdio.h> #include <string.h> #include <stdlib.h> #define STACK_SIZE 10000 typedef struct S 阅读全文
posted @ 2016-07-03 19:15 PKICA 阅读(310) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 47 下一页