よじろめ覚書

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

2019-08-15から1日間の記事一覧

ABC054B - Template Matching

ABC

問題:B - Template Matching #include <iostream> #include <string> using namespace std; #define REP(i, n) for (int i = 0; i < (n); ++i) string a[50], b[50]; bool isMatch(int n, int m, int y, int x) { if (m + y > n || m + x > n) { return false; } REP(i, m) { </string></iostream>…