# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
108007 | reda | The Big Prize (IOI17_prize) | C++14 | 77 ms | 384 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
#include "prize.h"
using namespace std;
int find_best(int n)
{
int k=0;
for(int i=0;i<=n;i++)
{
vector<int> a=ask(i);
if(a[0]==0 && a[1]==0)
{
k=i;break;
}
}
return k;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |