Submission #140334

#TimeUsernameProblemLanguageResultExecution timeMemory
140334ggohThe Big Prize (IOI17_prize)C++14
0 / 100
113 ms248 KiB
#include "prize.h" #include<bits/stdc++.h> 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; } }

Compilation message (stderr)

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