# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
369467 |
2021-02-21T17:55:21 Z |
sad |
CONSUL (info1cup19_consul) |
C++14 |
|
54 ms |
364 KB |
#include "grader.h"
#include "bits/stdc++.h"
#define fi first
#define se second
#define pb push_back
#define ll long long
void solve(int n)
{
for(int i=1;i<n+1;i++)
{
int x=kth(i);
int y=cnt(x);
if(y>n/3){say_answer(x);return;}
}return say_answer(-1);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
20 ms |
364 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
54 ms |
364 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
11 ms |
364 KB |
Too many queries |
2 |
Halted |
0 ms |
0 KB |
- |