#include "grader.h"
#include<bits/stdc++.h>
using namespace std;
void solve(int n) {
srand(time(NULL));
for(int k = 0;k<30;k++) {
int i = rand()%n + 1;
long long num = kth(i);
if(cnt(num) > (n+2)/ 3) say_answer(num);
}
say_answer(-1);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
200 KB |
Multiple answers provided for the same testcase! |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
200 KB |
Wrong answer |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
200 KB |
Wrong answer |
2 |
Halted |
0 ms |
0 KB |
- |