よじろめ覚書

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

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

ABC036B - 回転

ABC

問題:B - 回転 #include <iostream> #include <string> #include <vector> using namespace std; #define REP(i, n) for (int i = 0; i < (n); ++i) int main(void){ int n; string s[50]; cin.tie(0); ios::sync_with_stdio(false); cin >> n; REP(i, n) { cin >> s[i]; } REP(i, n) </vector></string></iostream>…