Submission #1076008

#TimeUsernameProblemLanguageResultExecution timeMemory
1076008raduvCONSUL (info1cup19_consul)C++17
20 / 100
7 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() % 60 + 1; 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...