B. Substring Removal Game(字符串问题) Educational Codeforces Round 93 (Rated for Div. 2)

原题连接:http://codeforces.com/contest/1398/problem/Bios 样例:c++ input 5 01111001 0000 111111 101010101 011011110111 output 4 0 6 3 6 题意: 给定一个01字符串,你和对手每回合均可以连续消去相同且连续的字符(至少要消去一个)。你先开始。游戏规则是每消去一个字符1得1分,消完字
相关文章
相关标签/搜索