| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1359829 | khanhphucscratch | CONSUL (info1cup19_consul) | C++20 | 4 ms | 416 KiB |
#include "grader.h"
#include<bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::high_resolution_clock::now().time_since_epoch().count());
void solve(int n)
{
for(int i = 1; i <= 25; i++){
int val = kth(rng()%n+1);
if(3*cnt(val) > n){say_answer(val); return;}
}
}
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
