Submission #537343

# Submission time Handle Problem Language Result Execution time Memory
537343 2022-03-15T02:43:47 Z ToroTN The Big Prize (IOI17_prize) C++14
0 / 100
71 ms 276 KB
#include<bits/stdc++.h>
using namespace std;
#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 71 ms 208 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 68 ms 276 KB Incorrect
2 Halted 0 ms 0 KB -