2018-12-18から1日間の記事一覧
A - Irreversible operation いくつか紙に書いてみるべきだった 毎回WWWWBBBBのようになる Submission #3806738 - AtCoder Grand Contest 029 signed main() { string s = sin(); N = s.size(); int now = 0; rep(i, N) { if (s[i] == 'W') { cou += i - now…
A - Irreversible operation いくつか紙に書いてみるべきだった 毎回WWWWBBBBのようになる Submission #3806738 - AtCoder Grand Contest 029 signed main() { string s = sin(); N = s.size(); int now = 0; rep(i, N) { if (s[i] == 'W') { cou += i - now…