Submission #825355

# Submission time Handle Problem Language Result Execution time Memory
825355 2023-08-14T18:32:54 Z Darren0724 CONSUL (info1cup19_consul) C++17
0 / 100
7 ms 208 KB
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
void solve(int n){
    while(1){
        int p=rnd()%n+1;
        int t=kth(p);
        if(cnt(t)>n/3){
            say_answer(t);
            return;
        }
    }
}
# Verdict Execution time Memory Grader output
1 Incorrect 7 ms 208 KB Too many queries
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 7 ms 208 KB Too many queries
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 7 ms 208 KB Too many queries
2 Halted 0 ms 0 KB -