{"blog_url":"https://drken1215.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/drken1215/","url":"https://drken1215.hatenablog.com/entry/2024/07/14/225951","type":"rich","blog_title":"\u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332","version":"1.0","description":"for \u6587\u3092\u56de\u3057\u306a\u304c\u3089\u3001\u300c\u6b21\u306e\u8981\u7d20\u300d\u3082\u540c\u6642\u306b\u898b\u3066\u3044\u304f\u3068\u3044\u3046\u5b9f\u88c5\uff01 \u554f\u984c\u3078\u306e\u30ea\u30f3\u30af \u554f\u984c\u6982\u8981 \u6587\u5b57 J, O, I \u304b\u3089\u306a\u308b\u9577\u3055 \u306e\u6587\u5b57\u5217 \u304c\u4e0e\u3048\u3089\u308c\u308b\u3002 \u306b\u3064\u3044\u3066\u3001 \u306e \u6587\u5b57\u76ee\u304c J \u3067\u3042\u308b\u3068\u304d\u3001 \u306e \u6587\u5b57\u76ee\u3092\u51fa\u529b\u305b\u3088\u3002 \u5236\u7d04 \u89e3\u6cd5 for \u6587\u3092\u56de\u3057\u306a\u304c\u3089\u3001 \u6587\u5b57\u76ee\u306e\u6b21\u306e\u8981\u7d20\u300c \u6587\u5b57\u76ee\u300d\u3082\u540c\u6642\u306b\u898b\u3066\u3044\u3053\u3046\u3002 \u30b3\u30fc\u30c9 #include <bits/stdc++.h> using namespace std; int main() { int N; string S; cin >> N >> S; for (int i = 0; i+1 < N; ++i) { if (S[i+1] == 'J')\u2026","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/80936665/1687765056723440","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F07%2F14%2F225951\" title=\"JOI \u4e00\u6b21\u4e88\u9078 2022 (\u7b2c 2 \u56de) C - \u6b21\u306e\u6587\u5b57 (7Q, \u96e3\u6613\u5ea6 2) - \u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","title":"JOI \u4e00\u6b21\u4e88\u9078 2022 (\u7b2c 2 \u56de) C - \u6b21\u306e\u6587\u5b57 (7Q, \u96e3\u6613\u5ea6 2)","width":"100%","author_name":"drken1215","categories":["for\u6587","for\u6587:\u96a3\u63a5\u8981\u7d20\u3092\u898b\u308b","\u6587\u5b57\u5217","\u6587\u5b57\u5217\u306efor\u6587","\u6613\u3057\u3044\u6587\u5b57\u5217\u306e\u554f\u984c","NoviSteps7Q","AtCoder","JOI","JOI\u4e00\u6b21\u4e88\u9078","JOI\u96e3\u6613\u5ea62"],"provider_name":"Hatena Blog","published":"2024-07-14 22:59:51"}