# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
523102 | 2022-02-07T05:28:44 Z | Baytoro | CONSUL (info1cup19_consul) | C++17 | 0 ms | 0 KB |
#include "grader.h" #include "grader.cpp" void solve(int n) { for(int i=0;i<min(n,50);i++){ int x=kth(i); int y=cnt(x); if(y>n/3){ say_answer(x); return; } } say_answer(-1); }