| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1354028 | nini_gvenetadze | CONSUL (info1cup19_consul) | C++20 | 4 ms | 412 KiB |
#include <bits/stdc++.h>
using namespace std;
#include "grader.h"
void solve(int n)
{
srand(time(0));
int x=1;
for(int i=0; i<25; i++)
{
int r=rand()%n;
int k=kth(r+1);
int p=cnt(k);
if(p>n/3)
{
say_answer(k);
return;
}
}
say_answer(-1);
return;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
