{"description":"#include <bits/stdc++.h> using namespace std; #define ALL(x) (x).begin(), (x).end() class AmebaDiv1 { public: int count( vector <int> X ) { int N = X.size(); set<int> st1(ALL(X)), st2; for(int i=0; i<N; i++) { int xx = X[i]; for(int j=0; j<N; j++) { if(X[j] == xx) xx *= 2; } if(st1.count(xx)) st2.in\u2026","author_url":"https://blog.hatena.ne.jp/moistx/","version":"1.0","provider_url":"https://hatena.blog","blog_title":"Logfiles","blog_url":"https://logfiles.hatenablog.com/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140716%2F1405501484\" title=\"SRM615 Div1Easy AmebaDiv1 - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","image_url":null,"title":"SRM615 Div1Easy AmebaDiv1","author_name":"moistx","height":"190","url":"https://logfiles.hatenablog.com/entry/20140716/1405501484","width":"100%","categories":["SRM"],"published":"2014-07-16 18:04:44"}