Submission #364075

#TimeUsernameProblemLanguageResultExecution timeMemory
364075yasseenkamelCONSUL (info1cup19_consul)C++14
0 / 100
37 ms2284 KiB
#include "grader.h" //#include "grader.cpp" bool vis[1000000005]; void solve(int n){ for(int i = 1 ; i <= n ; i ++){ int x = kth(i); if(!vis[x]){ int y = cnt(x); if(y > n / 3){ say_answer(x); return; break; } } } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...