| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1353990 | gvancak | CONSUL (info1cup19_consul) | C++20 | 5 ms | 348 KiB |
#include "grader.h"
#include <bits/stdc++.h>
#define f first
#define s second
#define pb push_back
#define mp make_pair
#define ll long long
void solve(int n)
{
srand(time(0));
/// insert your code
/// for example
int t=25;
while (t--){
int x=rand()%n+1;
int y=kth(x);
int z=cnt(y);
if (z>n/3) { say_answer(y); return ; }
}
int y=-1;
say_answer(y);
}| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
