#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
mt19937 rng(12345);
void solve(int n) {
while (1) {
int k = rng() % n + 1;
if (cnt(kth(k)) > n / 3) {
say_answer(kth(k));
break;
}
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
4 ms |
208 KB |
Too many queries |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
5 ms |
208 KB |
Too many queries |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
9 ms |
208 KB |
Too many queries |
2 |
Halted |
0 ms |
0 KB |
- |