제출 #1359829

#제출 시각아이디문제언어결과실행 시간메모리
1359829khanhphucscratchCONSUL (info1cup19_consul)C++20
100 / 100
4 ms416 KiB
#include "grader.h"
#include<bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::high_resolution_clock::now().time_since_epoch().count());
void solve(int n)
{
    for(int i = 1; i <= 25; i++){
        int val = kth(rng()%n+1);
        if(3*cnt(val) > n){say_answer(val); return;}
    }
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…