# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1210013 | PlayVoltz | CONSUL (info1cup19_consul) | C++20 | 14 ms | 408 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()+17)%n+1);
if (cnt(temp)>n/3)ans=temp;
}
say_answer(ans);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |