Submission #1082729

#TimeUsernameProblemLanguageResultExecution timeMemory
1082729BorsHotter Colder (IOI10_hottercolder)C++17
Compilation error
0 ms0 KiB
#include "grader.h" int HC(int n){ int l=1, r=n; while(lcr){ int ac=(l+r)/2; Guess(ac); int m=(ac+1); int k=Guess(m); if(k>=0){ l=ac+1; } else{ r=ac; } } return l; }

Compilation message (stderr)

hottercolder.cpp: In function 'int HC(int)':
hottercolder.cpp:6:10: error: 'lcr' was not declared in this scope
    6 |    while(lcr){
      |          ^~~