Submission #976463

# Submission time Handle Problem Language Result Execution time Memory
976463 2024-05-06T15:07:35 Z Error404 The Big Prize (IOI17_prize) C++17
0 / 100
43 ms 344 KB
#include "prize.h"

int find_best(int n) {
	for(int i = 0; i < n; i++) {
		std::vector<int> res = ask(i);
		if(res[0] + res[1] == 0)
			return i;
	}
	return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 43 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 41 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -