| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1354026 | putuputu | CONSUL (info1cup19_consul) | C++20 | 6 ms | 412 KiB |
#include<bits/stdc++.h>
using namespace std;
#include "grader.h"
void solve(int n){
srand(time(0));
for(int i=0; i<25; i++){
int k=rand()%n;
int kt=kth(k+1);
int cn=cnt(kt);
if(cn>n/3){
say_answer(kt);
return;
}
}
say_answer(-1);
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... | ||||
