よじろめ覚書

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

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

ABC103B - String Rotation

ABC

問題:B - String Rotation #include <iostream> #include <string> using namespace std; #define REP(i, n) for (int i = 0; i <(n); ++i) int main(void) { string s, t; bool flg = false; cin.tie(0); ios::sync_with_stdio(false); cin >> s; cin >> t; REP(i, s.length(</string></iostream>…