Submission #1076006

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