摘要: #include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char s[80]; int n, len; scanf("%s", s); len = strlen(s); for (int i = 1; i <= len; i+ 阅读全文
posted @ 2016-07-31 17:20 女王公园的八神 阅读(205) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char s[10000]; int a0 = 0, a1 = 0, a2 = 0, a3 = 0, a4 = 0, a5 = 0, a6 = 0, a7 = 0, a8 阅读全文
posted @ 2016-07-31 15:36 女王公园的八神 阅读(861) 评论(0) 推荐(0) 编辑
摘要: #include<cstdio>#include<cstdlib>#include<cstring>int main(){ char s[80];//输入OOXXOXXOOO,最终得分计算为1+2+0+0+1+0+0+1+2+3=10 int m = 0, sum = 0, i = 0; scanf 阅读全文
posted @ 2016-07-31 01:28 女王公园的八神 阅读(179) 评论(0) 推荐(0) 编辑