摘要:
#include #include #include int main(){ int n = 0; while (scanf("%d",&n) != EOF && n!= 0) { char str[1000][16];//只对各不相同的颜色进行存储 memset(... 阅读全文
摘要:
#include #include #include void add(char *a, char *b,char *sum)//字符串a要比字符串b长,或相等{ int len_a = strlen(a); int len_b = strlen(b); char tmp[len_... 阅读全文
摘要:
1.2.1#include #include #define up 6#define down 4#define stop 5int main(int argc, const char * argv[]){ int n = 0; while (scanf("%d",&n) != EOF)... 阅读全文
摘要:
1.1.1#include #include int main(int argc, const char * argv[]){ int a,b; while (scanf("%d%d",&a,&b) != EOF) { printf("%d\n",a+b); }... 阅读全文