| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1354014 | lizi14 | CONSUL (info1cup19_consul) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
using namespace std;
#include "grader.h"
const int N=1e9;
void solve(int n){
srand(time(0));
int hi=0;
for(int i=0; i<50; i++){
int bati=rand()%n;
int ixvi=kth(bati);
int batuka=cnt(ixvi+1);
if(batuka>n/3){
return ixvi;
//break;
}
}
return -1;
}
