{"blog_title":"Do Something","image_url":null,"published":"2024-02-10 23:06:42","width":"100%","description":"KAJIMA CORPORATION CONTEST 2024\uff08AtCoder Beginner Contest 340\uff09 - AtCoder B - Append \u554f\u984c\u6587\u3092\u305d\u306e\u307e\u307e\u5b9f\u88c5 #include <bits/stdc++.h> using namespace std; #define REP(i,n) for(int i=0;i<n;i++) #define endl '\\n' int main() { int q; cin >> q; vector<int> v; while(q--) { int t,x; cin >> t >> x; if (t == 1) v.push_bac\u2026","categories":["AtCoder","Fenwich Tree","\u7d2f\u7a4d\u548c","\u30e1\u30e2\u5316DFS","ABC"],"url":"https://tic40.hatenablog.com/entry/2024/02/10/230642","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftic40.hatenablog.com%2Fentry%2F2024%2F02%2F10%2F230642\" title=\"AtCoder abc340 \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>","author_url":"https://blog.hatena.ne.jp/tic40/","type":"rich","title":"AtCoder abc340 \u53c2\u52a0\u30e1\u30e2","provider_name":"Hatena Blog","height":"190","version":"1.0","blog_url":"https://tic40.hatenablog.com/","author_name":"tic40"}