Submission #108007

# Submission time Handle Problem Language Result Execution time Memory
108007 2019-04-26T18:43:00 Z reda The Big Prize (IOI17_prize) C++14
0 / 100
77 ms 384 KB
#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
1 Incorrect 77 ms 256 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 52 ms 384 KB Incorrect
2 Halted 0 ms 0 KB -