Submission #927248

#TimeUsernameProblemLanguageResultExecution timeMemory
927248vjudge1Hotter Colder (IOI10_hottercolder)C++11
0 / 100
10098 ms8144 KiB
#include <bits/stdc++.h> using namespace std; int Guess(int); int HC(int n) { for(int i = 1; i <= n; i++) { for(int j = i + 2; j <= n; j++) { Guess(i); if(!Guess(j)) return (j + i) >> 1; } } }

Compilation message (stderr)

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