Submission #315010

#TimeUsernameProblemLanguageResultExecution timeMemory
315010daniel920712CONSUL (info1cup19_consul)C++14
0 / 100
16 ms376 KiB
#include "grader.h" #include <map> using namespace std; map < int , int > all; void solve(int n) { int i,t; for(i=1;i<=n;i++) { t=kth(i); all[t]++; if(all[t]>n/3) say_answer(t); } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...