よじろめ覚書

私の理解度重視のソースコードです。

2019-06-03から1日間の記事一覧

ABC017B - choku語

ABC

問題:B - choku語 #include <iostream> #include <string> using namespace std; #define REP(i, n) for(int i = 0; i < (n); ++i) bool isChoku(string x_s) { REP(i, x_s.length()) { if (x_s[i] == 'o' || x_s[i] == 'k' || x_s[i] == 'u') { continue; } if (i + 1 <= x_s</string></iostream>…