제출 #536616

#제출 시각아이디문제언어결과실행 시간메모리
536616RifalCONSUL (info1cup19_consul)C++14
85 / 100
27 ms208 KiB
#include <bits/stdc++.h> //#include <fstream> #include "grader.h" #define endl '\n' #define mod 10007 #define INF 100000000000000000 #define ll long long //ofstream fout("split.out"); //ifstream fin("split.in"); //#define cin fin //#define cout fout using namespace std; void solve(int N) { for(int i = 0; i < 30; i++) { int x = kth(((int)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...