Submission #1008340

#TimeUsernameProblemLanguageResultExecution timeMemory
1008340ALTAKEXEHotter Colder (IOI10_hottercolder)C++17
0 / 100
294 ms157140 KiB
#include "grader.h" #include <bits/stdc++.h> using namespace std; 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; return 0; }

Compilation message (stderr)

hottercolder.cpp: In function 'int HC(int)':
hottercolder.cpp:7:8: warning: unused variable 'h' [-Wunused-variable]
    7 |    int h = Guess(N);
      |        ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...