2014年12月17日

340 - Master-Mind Hints

摘要: #includeint main(){ int m,i,x,n=0; int a[1010],b[1010]; while(scanf("%d",&m)&&m) { printf("Game %d:\n",++n); for(i=0; i<m; i... 阅读全文

posted @ 2014-12-17 22:08 闫鸣 阅读(143) 评论(0) 推荐(0)

401 Palindromes

摘要: #include#includeint main(){ int k,x=0,y=0,i; char s[100]; while(scanf("%s",s)!=EOF) { x=0; y=0; k=strlen(s); f... 阅读全文

posted @ 2014-12-17 09:47 闫鸣 阅读(133) 评论(0) 推荐(0)

10082 - WERTYU

摘要: #include#includeint main(){ int i,k,x=0; char c; char s[100]="`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./"; k=strlen(s); while((c=... 阅读全文

posted @ 2014-12-17 09:06 闫鸣 阅读(251) 评论(0) 推荐(0)

2014年10月31日

272 TEX Quotes

摘要: #includeint main(){ char a; int b=1; while((a=getchar())!=EOF) { if(a=='"'&&b==1) { printf("``"); b=... 阅读全文

posted @ 2014-10-31 09:09 闫鸣 阅读(168) 评论(0) 推荐(0)

导航