Submission #720424

# Submission time Handle Problem Language Result Execution time Memory
720424 2023-04-08T08:28:43 Z yellowtoad CONSUL (info1cup19_consul) C++17
0 / 100
9 ms 208 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);
    		return;
		}
	}
	say_answer(-1);
}
# 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 9 ms 208 KB Too many queries
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 9 ms 208 KB Too many queries
2 Halted 0 ms 0 KB -