# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
369475 |
2021-02-21T18:15:39 Z |
sad |
CONSUL (info1cup19_consul) |
C++14 |
|
1 ms |
364 KB |
#include "grader.h"
#include "bits/stdc++.h"
#define fi first
#define se second
#define pb push_back
#define ll long long
using namespace std;
map<int,int>m;
void solve(int n)
{
for(int i=1;i<=25;i++)
{
int w=rand();
w%=n;w++;
int x=kth(i);
m[x]++;
}
for(auto it:m)if(it.se>n/3){say_answer(it.fi);return;}
say_answer(-1);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
364 KB |
Wrong answer |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
364 KB |
Wrong answer |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
364 KB |
Wrong answer |
2 |
Halted |
0 ms |
0 KB |
- |