{"width":"100%","categories":["AtCoder","ABC","DP"],"author_url":"https://blog.hatena.ne.jp/tic40/","type":"rich","description":"AtCoder Beginner Contest 322 - AtCoder B - Prefix and Suffix \u554f\u984c\u6587\u901a\u308a\u306b\u611a\u76f4\u306b\u3084\u308b #include <bits/stdc++.h> using namespace std; #define REP(i,n) for(int i=0;i<n;i++) #define endl '\\n' int main() { int n,m; cin >> n >> m; string s,t; cin >> s >> t; auto t1 = t.substr(0,n); auto t2 = t.substr(m-n); int ans = 3\u2026","published":"2023-10-01 00:43:41","author_name":"tic40","title":"AtCoder abc322 \u53c2\u52a0\u30e1\u30e2","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftic40.hatenablog.com%2Fentry%2F2023%2F10%2F01%2F004341\" title=\"AtCoder abc322 \u53c2\u52a0\u30e1\u30e2 - Do Something\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","url":"https://tic40.hatenablog.com/entry/2023/10/01/004341","blog_url":"https://tic40.hatenablog.com/","version":"1.0","provider_url":"https://hatena.blog","blog_title":"Do Something","height":"190"}