{"author_name":"peroon","version":"1.0","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/peroon/","url":"https://perogram.hateblo.jp/entry/2020/10/28/013900","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/peroon/20201028/20201028013842.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2F2020%2F10%2F28%2F013900\" title=\"1436B - Prime Square - perogram\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_name":"Hatena Blog","width":"100%","blog_title":"perogram","published":"2020-10-28 01:39:00","title":"1436B - Prime Square","categories":["900"],"blog_url":"https://perogram.hateblo.jp/","description":"Quiz https://codeforces.com/contest/1436/problem/B AC https://codeforces.com/contest/1436/submission/96922880 My editorial it is different from official editorial, so I wrote. My solution is shown in the image below void solve(){ ll N; cin>>N; if(N==2){ p(\"1 1\"); p(\"1 1\"); return; } VI A(N); rep(i,3\u2026"}