# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
887216 | 2023-12-14T05:26:00 Z | Sir_Ahmed_Imran | Hotter Colder (IOI10_hottercolder) | C++17 | 0 ms | 0 KB |
///~~~LOTA~~~/// #include "grader.h" #include "hottercolder.h" #include <bits/stdc++.h> using namespace std; int HC(int n){ int m,o,p,q,r; m=0; q=log2(n); for(int i=q;i>=0;i--){ o=m+pow(2,i); if(o==1) return 1; if(o>n) continue; p=Guess(o-1); p=Guess(o); if(p==1) m=o; } return m; }