Submission #523107

# Submission time Handle Problem Language Result Execution time Memory
523107 2022-02-07T05:43:48 Z Baytoro CONSUL (info1cup19_consul) C++17
0 / 100
45 ms 200 KB
#include "grader.h"
//#include "grader.cpp"
using namespace std;
void solve(int n)
{
    for(int i=1;i<=n;i++){
    	int x=kth(i);
    	if(cnt(x)>n/3){
    		say_answer(x);
    		return;
    	}
	}
	say_answer(-1);
}
# Verdict Execution time Memory Grader output
1 Incorrect 19 ms 200 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 45 ms 200 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 10 ms 200 KB Too many queries
2 Halted 0 ms 0 KB -