{"blog_title":"Do Something","published":"2023-09-21 23:54:48","width":"100%","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftic40.hatenablog.com%2Fentry%2F2023%2F09%2F21%2F235448\" title=\"AtCoder ARC 165 B - Sliding Window Sort 2 - 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_name":"tic40","categories":["AtCoder","ARC"],"description":"B - Sliding Window Sort 2 \u516c\u5f0f\u89e3\u8aac \u3092\u8aad\u3093\u3067 AC \u3057\u305f\u306e\u3067\u7d39\u4ecb\u3002 \u6dfb\u5b57\u3092\u30d0\u30b0\u3089\u305b\u7d9a\u3051\u3066\u306a\u304b\u306a\u304b\u82e6\u6226\u3057\u305f\u306e\u3067\u3001\u8ab0\u304b\u306e\u53c2\u8003\u306b\u306a\u308c\u3070\u3002 Submission #45783935 - AtCoder Regular Contest 165 #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,k; cin >> n >> k; vector<int> p(n); REP(i,n) cin \u2026","title":"AtCoder ARC 165 B - Sliding Window Sort 2","image_url":null,"url":"https://tic40.hatenablog.com/entry/2023/09/21/235448","version":"1.0","height":"190","blog_url":"https://tic40.hatenablog.com/","type":"rich","author_url":"https://blog.hatena.ne.jp/tic40/"}