よじろめ覚書

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

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

ABC003B - AtCoderトランプ

ABC

問題:B - AtCoderトランプ #include <algorithm> #include <iostream> #include <string> using namespace std; #define REP(i, n) for(int i = 0; i < (n); ++i) int main(void) { const string card = "atcoder"; string s, t; bool flg = true; cin >> s >> t; if (s != t) { REP(i, m</string></iostream></algorithm>…