Submission #651520

#TimeUsernameProblemLanguageResultExecution timeMemory
651520kunzaZa183Hotter Colder (IOI10_hottercolder)C++98
0 / 100
435 ms140728 KiB
#include "grader.h" int HC(int N) { int g = Guess(1); int h = Guess(N); if (g == 0) return N / 2; if (g < 0) return N / 4; if (g > 0) return 3 * N / 4; }

Compilation message (stderr)

hottercolder.cpp: In function 'int HC(int)':
hottercolder.cpp:6:8: warning: unused variable 'h' [-Wunused-variable]
    6 |    int h = Guess(N);
      |        ^
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...