上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 95 下一页
摘要: 在开放地址法中,所有的元素都存放在哈希表里,也就是,每个表项或包含动态集合的一个元素,或包含NIL int locate(int s){ int h; h=Hash(s); while (use[h]&&pst[h]!=s) { h++; if... 阅读全文
posted @ 2013-05-23 20:05 N3verL4nd 阅读(264) 评论(0) 推荐(0)
摘要: King Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8593 Accepted: 3240 Description Once, in one kingdom, there was a qu... 阅读全文
posted @ 2013-05-23 09:20 N3verL4nd 阅读(110) 评论(0) 推荐(0)
摘要: 快速排序库函数qsort的使用 qsort,它包含在头文件里,函数一共四个参数,在函数头部加上#include,就可以直接调用,并且无需声明。一个典型的qsort的写法如下: qsort(s,n,sizeof(s[0]),cmp); 其中第一个参数s... 阅读全文
posted @ 2013-05-23 00:23 N3verL4nd 阅读(197) 评论(0) 推荐(0)
摘要: Integer Intervals Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 11782 Accepted: 4964 Description An integer interval [a... 阅读全文
posted @ 2013-05-22 19:26 N3verL4nd 阅读(129) 评论(0) 推荐(0)
摘要: Candies Time Limit: 1500MS Memory Limit: 131072K Total Submissions: 19969 Accepted: 5263 Description During the kindergarten days... 阅读全文
posted @ 2013-05-22 15:35 N3verL4nd 阅读(108) 评论(0) 推荐(0)
摘要: Intervals Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 18873 Accepted: 7097 Description You are given n closed, inte... 阅读全文
posted @ 2013-05-22 14:40 N3verL4nd 阅读(125) 评论(0) 推荐(0)
摘要: const int MAXN = 300005;const __int64 INF = 0x7FFFFFFF;typedef struct ENode{ int v,w; int next;}ENode;struct node{ int u; __int64 dis; bool operator... 阅读全文
posted @ 2013-05-22 07:37 N3verL4nd 阅读(123) 评论(0) 推荐(0)
摘要: Invitation Cards Time Limit: 8000MS Memory Limit: 262144K Total Submissions: 16025 Accepted: 5203 Description In the age of televi... 阅读全文
posted @ 2013-05-22 07:21 N3verL4nd 阅读(130) 评论(0) 推荐(0)
摘要: Play on Words Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3730 Accepted Submission... 阅读全文
posted @ 2013-05-22 00:04 N3verL4nd 阅读(176) 评论(0) 推荐(0)
摘要: C:\Users\N3verL4nd>type /? 显示文本文件的内容。 TYPE [drive:][path]filename C:\Users\N3verL4nd> 做测试的时候学到的一项用法,type in.txt | test.exe,即利用windows管道把in.txt... 阅读全文
posted @ 2013-05-21 20:15 N3verL4nd 阅读(581) 评论(0) 推荐(0)
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 95 下一页