{"image_url":null,"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/tic40/","blog_url":"https://tic40.hatenablog.com/","type":"rich","provider_url":"https://hatena.blog","width":"100%","author_name":"tic40","blog_title":"Do Something","title":"AtCoder abc308 \u53c2\u52a0\u30e1\u30e2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftic40.hatenablog.com%2Fentry%2F2023%2F07%2F01%2F232846\" title=\"AtCoder abc308 \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>","categories":["AtCoder"],"description":"AtCoder Beginner Contest 308 - AtCoder B - Default Price D \u306e\u3044\u305a\u308c\u3068\u3082\u7570\u306a\u308b\u8272\u306e\u76bf\u306e\u6599\u7406\u306f\u4e00\u76bf $ P_0 $ \u5186\u3068\u3044\u3046\u3053\u3068\u306b\u6ce8\u610f\u3059\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; vector<string> c(n),d(m); vector<int> p(m+1); REP(i,n) cin >> c\u2026","published":"2023-07-01 23:28:46","url":"https://tic40.hatenablog.com/entry/2023/07/01/232846","height":"190","version":"1.0"}