Submission #1076010

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