제출 #993688

#제출 시각아이디문제언어결과실행 시간메모리
993688ramalzaherCONSUL (info1cup19_consul)C++14
71.85 / 100
17 ms436 KiB
#include "grader.h" #include<bits/stdc++.h> using namespace std ; mt19937_64 randd(chrono::steady_clock::now().time_since_epoch().count()); void solve(int n) { bool ok=1; for(int i = 0 ;i < 31; i ++ ) { int ans = kth(randd()%(n)+1) ; int temp = cnt(ans); if(temp > n/3 && ok ) { say_answer(ans) ; ok=0;break ; } } if(ok) say_answer(-1) ; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...