Submission #755577

#TimeUsernameProblemLanguageResultExecution timeMemory
755577DJeniUpCONSUL (info1cup19_consul)C++17
85 / 100
29 ms300 KiB
#include "grader.h" #include "bits/stdc++.h" using namespace std; typedef long long ll; void solve(int n) { for(int i=1;i<=30;i++){ ll x=rand()%n+1; x=kth(x); if(cnt(x)>n/3){ say_answer(x); return ; } } say_answer(-1); return ; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...