《算法竞赛入门经典(第2版)》 作者:刘汝佳
第三章习题3-1 输入O和X组成的串,统计得分
https://uva.onlinejudge.org//index.php?option=com_onlinejudge&Itemid=8&category=827
--------------------------------------------------E3-1.cpp-------------------------------------------------
#include <stdio.h>
#include <string.h>#define LOCAL
#define maxn 85
int main()
{
#ifdef LOCAL
freopen("E3-1.in", "r", stdin);
#endif
int kase;
char s[maxn];
scanf("%d", &kase);