제출 #639075

#제출 시각아이디문제언어결과실행 시간메모리
639075alexx_stefanCONSUL (info1cup19_consul)C++17
100 / 100
25 ms292 KiB
#include "grader.h"
#include<bits/stdc++.h>
using namespace std;
void solve(int n)
{
    /// insert your code
    /// for example
    for (int i=1;i<=min(n,25);i++)
    {
        int x=kth(rand()%n+1);
        if (cnt(x)>n/3)
    {
        say_answer(x);
        return ;
    }
    }
    say_answer(-1);
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…