Submission #818459

# Submission time Handle Problem Language Result Execution time Memory
818459 2023-08-10T04:58:20 Z pavement CONSUL (info1cup19_consul) C++17
0 / 100
9 ms 208 KB
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;

mt19937 rng(12345);

void solve(int n) {
	while (1) {
		int k = rng() % n + 1;
		if (cnt(kth(k)) > n / 3) {
			say_answer(kth(k));
			break;
		}
	}
}
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 208 KB Too many queries
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 5 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 -