| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 427409 | MilosMilutinovic | CONSUL (info1cup19_consul) | C++14 | 37 ms | 328 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
mt19937 rng(time(0));
void solve(int N) {
for (int rep = 1; rep <= 25; rep++) {
int pos = rng() % N + 1;
int element = kth(pos);
if (cnt(element) > N / 3) {
say_answer(element);
return;
}
}
say_answer(-1);
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
