摘要:
题目描写的乱七八糟 就是找无论顺序大小写 不重复出现的字符串 按字典序输出http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=92代码乱七八糟的写的真长View Code 1 #include <stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 typedef struct node 5 { 6 char c[25]; 7 int x; 8 } 阅读全文
posted @ 2012-07-13 23:27
_雨
阅读(341)
评论(0)
推荐(0)
摘要:
View Code 1 #include <stdio.h> 2 #include<math.h> 3 int tr(int x,int y,int z) 4 { 5 if(x+y>z&&y+z>x&&x+z>y&&abs(x-y)<z&&abs(y-z)<x&&abs(x-z)<y) 6 return 1; 7 else 8 return 0; 9 }10 int tq(int x,int y,int z)11 {12 if(x == 0||y==0|| 阅读全文
posted @ 2012-07-13 14:10
_雨
阅读(539)
评论(0)
推荐(0)