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"
bool vis[1000000005];
void solve(int n){
for(int i = 1 ; i <= n ; i ++){
int x = kth(i);
if(!vis[x]){
int y = cnt(x);
if(y > n / 3){
say_answer(x);
break;
}
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |