# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
523104 | Baytoro | CONSUL (info1cup19_consul) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "grader.h"
#include "grader.cpp"
void solve(int n)
{
for(int i=0;i<n;i++){
int x=kth(i+1);
int y=cnt(x);
if(y>n/3){
say_answer(x);
return;
}
}
say_answer(-1);
}