#include <bits/stdc++.h>
#include "grader.h"
using namespace std;
using ll = long long;
using vb = vector<bool>;
using vvb = vector<vb>;
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vvl = vector<vl>;
using vc = vector<char>;
using vvc = vector<vc>;
using vs = vector<string>;
const ll mod = 1e9 + 7,inf = 1e18;
#define pb push_back
#define fast ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
void solve(int n)
{
for (int i = 1;i<=min(n,60);i++){
int I = (rand()%n) + 1;
int val = cnt(I);
if (val > n/3){say_answer(I);return;}
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
56 ms |
200 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
64 ms |
200 KB |
Output is correct |
2 |
Correct |
52 ms |
200 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
59 ms |
200 KB |
Output is correct |
2 |
Correct |
69 ms |
200 KB |
Output is correct |
3 |
Correct |
63 ms |
200 KB |
Output is correct |
4 |
Correct |
56 ms |
200 KB |
Output is correct |
5 |
Correct |
62 ms |
200 KB |
Output is correct |
6 |
Correct |
58 ms |
200 KB |
Output is correct |
7 |
Correct |
64 ms |
284 KB |
Output is correct |
8 |
Correct |
66 ms |
200 KB |
Output is correct |
9 |
Correct |
69 ms |
200 KB |
Output is correct |
10 |
Correct |
74 ms |
200 KB |
Output is correct |
11 |
Correct |
54 ms |
200 KB |
Output is correct |
12 |
Correct |
63 ms |
200 KB |
Output is correct |
13 |
Correct |
49 ms |
200 KB |
Output is correct |
14 |
Correct |
69 ms |
200 KB |
Output is correct |