Submission #206715

#TimeUsernameProblemLanguageResultExecution timeMemory
206715mayhoubsalehCONSUL (info1cup19_consul)C++14
100 / 100
29 ms376 KiB
#include "grader.h" #include <bits/stdc++.h> using namespace std; void solve(int n) { int i = 0; while (i < 25){ int cur = kth((int)rand()%n + 1); int nCur = cnt(cur); if (nCur > n/3){ say_answer(cur); return; } i++; } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...