제출 #524771

#제출 시각아이디문제언어결과실행 시간메모리
524771obokamanThe Big Prize (IOI17_prize)C++17
0 / 100
77 ms288 KiB
#include <iostream>
#include "prize.h"

using namespace std;

int find_best(int n) {
  for (int i = 0; i < n; ++i) {
    auto ans = ask(i);
    if (ans[0]==0 && ans[1]==0) {
      return i;
    }
  }
  return -1;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...