# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1210010 | PlayVoltz | CONSUL (info1cup19_consul) | C++20 | 7 ms | 408 KiB |
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
void solve(int n){
int loop=30;
if (n==50)loop=25;
while (loop--){
int temp=kth(rand()%n+1);
if (cnt(temp)*3>n){
say_answer(temp);
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... |