Submission #730981

#TimeUsernameProblemLanguageResultExecution timeMemory
730981murad_2005CONSUL (info1cup19_consul)C++14
0.12 / 100
53 ms296 KiB
#include "grader.h" #include <bits/stdc++.h> using namespace std; void solve(int n) { for(int i = 0; i < 60; ++i){ int x = rand() % n + 1; int val = kth(x); if(cnt(val) > (n / 3)){ say_answer(val); return; } } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...