#include using namespace std; #define rep(i,n) for (int i=0;i<(int)(n);i++) #define all(v) v.begin(),v.end() using ll=long long; using pll=pair; using tll=tuple; const ll INF=(1ll<<60); template void chmin(T &a,T b){ if(a>b){ a=b; } } template void chmax(T &a,T b){ if(a> c; int k=c.size(); int n=0,sum=0; while(sum s(n+1); for(int i=1;i<=n;i++){ s[i]=ten_to_two(i); } vector> ans; vector used(k,false); for(int i=n;1<=i;i--){ int z=s[i].size(); if(i%2==0){ rep(j,k-z+1){ bool t=true; for(int ii=j;ii