Submission #1076007

#TimeUsernameProblemLanguageResultExecution timeMemory
1076007raduvCONSUL (info1cup19_consul)C++17
100 / 100
15 ms344 KiB
#include <bits/stdc++.h> #include "grader.h" using namespace std; void solve(int n){ srand(time(0)); for( int i = 0; i < 25; i++ ){ int x = kth(rand() % n + 1); if(cnt(x) > 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...