제출 #982908

#제출 시각아이디문제언어결과실행 시간메모리
982908HappyCapybaraThe Big Prize (IOI17_prize)C++17
0 / 100
46 ms344 KiB
#include "prize.h" #include<bits/stdc++.h> using namespace std; int find_best(int n) { for (int i = 0; i < n; i++){ vector<int> res = ask(i); if (res[0]+res[1] == 0) return i; } }

컴파일 시 표준 에러 (stderr) 메시지

prize.cpp: In function 'int find_best(int)':
prize.cpp:10:1: warning: control reaches end of non-void function [-Wreturn-type]
   10 | }
      | ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...