Submission #1210012

#TimeUsernameProblemLanguageResultExecution timeMemory
1210012PlayVoltzCONSUL (info1cup19_consul)C++20
85 / 100
14 ms408 KiB
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;

void solve(int n){
	int loop=30, ans=-1;
	if (n==50)loop=25;
	while (loop--){
		int temp=kth((rand()+1)%n+1);
		if (cnt(temp)>n/3)ans=temp;
	}
	say_answer(ans);
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...