# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1241425 | fskarica | The Big Prize (IOI17_prize) | C++20 | 23 ms | 404 KiB |
#include <bits/stdc++.h>
#include "prize.h"
using namespace std;
#define ll long long
#define fi first
#define se second
#define pii pair<int, int>
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 |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |