Submission #369472

#TimeUsernameProblemLanguageResultExecution timeMemory
369472sadCONSUL (info1cup19_consul)C++14
0 / 100
59 ms396 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;} }return say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...