Submission #488655

# Submission time Handle Problem Language Result Execution time Memory
488655 2021-11-19T21:47:47 Z JovanB CONSUL (info1cup19_consul) C++17
0 / 100
1 ms 200 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){
    for(int i=1; i<30; i++){
        int k = kth(1 + rnd()%n);
        if(cnt(k) > n/3) say_answer(k);
    }
    say_answer(-1);
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 200 KB Multiple answers provided for the same testcase!
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 200 KB Multiple answers provided for the same testcase!
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 200 KB Multiple answers provided for the same testcase!
2 Halted 0 ms 0 KB -