Submission #524268

#TimeUsernameProblemLanguageResultExecution timeMemory
524268maks007CONSUL (info1cup19_consul)C++14
0 / 100
183 ms200 KiB
#include <bits/stdc++.h> #include <map> #include "grader.h" using namespace std; void solve(int n) { map <int,int> mp; for(int i = 0; i < n/3; i ++) { int k = kth(i+1); if(cnt(k) > n/3) { say_answer(k); return; } } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...