| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1353980 | nataliaa | CONSUL (info1cup19_consul) | C++20 | 4 ms | 344 KiB |
#include "grader.h"
#include<bits/stdc++.h>
using namespace std;
void solve(int n){
srand(time(0));
int a = -1;
for(int i = 0; i < 30; i++) {
int ok = rand() % (n+1);
auto x = kth(ok);
auto y = cnt(x);
if(y>n/3) {say_answer(x); return;}
}
say_answer(a);
}| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
