Submission #369473

#TimeUsernameProblemLanguageResultExecution timeMemory
369473sadCONSUL (info1cup19_consul)C++14
0 / 100
70 ms364 KiB
#include "grader.h" #include "bits/stdc++.h" #define fi first #define se second #define pb push_back #define ll long long using namespace std; void solve(int n) { for(int i=1;i<=n;i++) { int x=kth(i); int y=cnt(x); if(y>n/3){say_answer(x);return;} } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...