제출 #973264

#제출 시각아이디문제언어결과실행 시간메모리
973264vjudge1CONSUL (info1cup19_consul)C++17
100 / 100
10 ms344 KiB
#include "grader.h" #include <stdlib.h> #include <time.h> void solve(int n) { srand(time(0)); for(int x,i=0;i<25;++i)if (cnt(x=kth(rand()%n+1))>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...