제출 #160965

#제출 시각아이디문제언어결과실행 시간메모리
160965kimbj0709CONSUL (info1cup19_consul)C++17
100 / 100
34 ms380 KiB
#include "grader.h" #include<bits/stdc++.h> using namespace std; void solve(int n){ srand(36211); for(int i=1;i<=min(n/2,30);i++){ int idk = rand()%n+1; int qr = kth(idk); if(cnt(qr)>n/3){ say_answer(qr); return; } } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...