# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
777189 | LeaRouse | CONSUL (info1cup19_consul) | C++14 | 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.cpp"
#include <map>
#define ll long long
using namespace std;
void solve(int n){
for(int i=1;i<25;i++){
int nc=kth(i%n +1);
int awa=cnt(nc);
if(awa>n/3){
say_answer(awa);
return;
}
}
say_answer(-1);
}