Submission #1076013

#TimeUsernameProblemLanguageResultExecution timeMemory
1076013raduvCONSUL (info1cup19_consul)C++17
85 / 100
18 ms344 KiB
#include <bits/stdc++.h> #include "grader.h" using namespace std; void solve(int n){ srand(time(0)); for( int i = 0; i < 30; 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...