标签:clu blog turn center 问题 pre sub 提交 没有
1 #include<stdio.h> 2 #include<string.h> 3 int main() 4 { 5 int n; 6 char name[10]; 7 scanf("%d",&n); 8 for(int i=0;i<n;i++) 9 { 10 scanf("%s",name); 11 if(strcmp(name,"WYS")==0) 12 printf("KXZSMR\n"); 13 14 else if(strcmp(name,"CQ")==0) 15 printf("CHAIQIANG\n"); 16 17 else if(strcmp(name,"LC")==0) 18 printf("DRAGONNET\n"); 19 20 else if(strcmp(name,"SYT")==0) 21 printf("STUDYFATHER\n"); 22 23 else if(strcmp(name,"SSD")==0) 24 printf("STUDYFATHER\n"); 25 26 else if(strcmp(name,"LSS")==0) 27 printf("STUDYFATHER\n"); 28 29 else if(strcmp(name,"LYF")==0) 30 printf("STUDYFATHER\n"); 31 32 else 33 printf("DENOMINATOR\n"); 34 35 } 36 return 0; 37 }
标签:clu blog turn center 问题 pre sub 提交 没有
原文地址:http://www.cnblogs.com/panweiwei/p/6352192.html