#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
const int N = 1000000000;
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
void solve(int n){
for(int i=1; i<30; i++){
int k = kth(rnd()%N);
if(cnt(k) > n/3) say_answer(k);
}
say_answer(-1);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
200 KB |
Wrong query format |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
200 KB |
Wrong query format |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
200 KB |
Wrong query format |
2 |
Halted |
0 ms |
0 KB |
- |