You are viewing a single comment's thread. Return to all comments →
sort(a.begin(),a.end()); int c=1;int s=a[0];int m=0; for(int i=1;im) m=c; } else { c=1; s=a[i]; } } return m;
Seems like cookies are disabled on this browser, please enable them to open this website
Picking Numbers
You are viewing a single comment's thread. Return to all comments →
sort(a.begin(),a.end()); int c=1;int s=a[0];int m=0; for(int i=1;im) m=c; } else { c=1; s=a[i]; } } return m;