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分,消完字
相關文章
相關標籤/搜索