よじろめ覚書

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

2019-07-09から1日間の記事一覧

ABC035B - ドローン

ABC

問題:B - ドローン #include <algorithm> #include <cstdlib> #include <iostream> #include <string> using namespace std; #define REP(i, n) for (int i = 0; i < (n); ++i) int main(void) { string s; int t, x = 0, y = 0, cnt = 0, ans; cin.tie(0); ios::sync_with_stdio(false); cin >> s</string></iostream></cstdlib></algorithm>…