제출 #1074360

#제출 시각아이디문제언어결과실행 시간메모리
1074360clementineHotter Colder (IOI10_hottercolder)C++17
0 / 100
403 ms155604 KiB
#include "grader.h" #include <bits/stdc++.h> using namespace std; int HC(int N){ int l = 1; int r = N; while(l != r) { int mid = (l + r) / 2; int a = Guess(l); int b = Guess(r); //cout << a << " " << b << '\n'; if(a == b) { //cout << mid << "ignore rest \n"; return mid; break; } else if(b ==1) { l = mid + 1; } else { r = mid; } } //cout << l; return l; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...