Submission #720422

# Submission time Handle Problem Language Result Execution time Memory
720422 2023-04-08T08:28:08 Z yellowtoad CONSUL (info1cup19_consul) C++17
0 / 100
10 ms 292 KB
#include <bits/stdc++.h>
#include "grader.h"

void solve(int n) {
	int tmp, cnnt = 0;
    srand(time(NULL));
    while (cnnt < 30) {
    	tmp = kth(rand()%n+1);
    	if (cnt(tmp) > n/3) say_answer(tmp);
	}
	say_answer(-1);
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 208 KB Multiple answers provided for the same testcase!
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 208 KB Multiple answers provided for the same testcase!
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 10 ms 292 KB Too many queries
2 Halted 0 ms 0 KB -