摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include int process(int i,int n) { long t=2,d=1; while(i){ if(i%2==1) ... 阅读全文
posted @ 2009-04-30 23:59 pandy 阅读(257) 评论(2) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include #include #include char s[1010]; char c[]="5"; char *p; int a[1010]; int cmp(const void *... 阅读全文
posted @ 2009-04-30 23:17 pandy 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Ignatius is building an Online Judge, now he has worked out all the problems except the Judge System. The system has to read data from correct output file and user's result file, then the syste... 阅读全文
posted @ 2009-04-30 21:58 pandy 阅读(337) 评论(0) 推荐(0) 编辑
摘要: strtok------ 功能:分解字符串为一组标记串。s为要分解的字符串,delim为分隔符字符串。 说明:首次调用时,s必须指向要分解的字符串,随后调用要把s设成NULL。 strtok在s中查找包含在delim中的字符并用NULL('\0')来替换,直到找遍整个字符串。 返回指向下一个标记串。当没有标记串时则返回空字符NULL。 Example... 阅读全文
posted @ 2009-04-30 14:37 pandy 阅读(294) 评论(0) 推荐(0) 编辑