# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1077079 | 2024-08-26T22:27:12 Z | boyliguanhan | Hotter Colder (IOI10_hottercolder) | C++17 | 0 ms | 0 KB |
#include "hottercolder.h" int HC(int N){ int l=1,r=n; while(l<r){ int mid=l+r>>1; Guess(mid); int x=Guess(mid+1); if(x<0) r=mid; else l=mid+1; } return l; }