721a专题

Codeforce 721A One-dimensional Japanese Crossword

题目链接http://codeforces.com/problemset/problem/721/A 思路 计算‘B’连起来的块 代码 #include<iostream>#include<stdio.h>#include<string.h>using namespace std;int n;char a[110];int cnt[110];int main(){cin>>