Submission #548879

#TimeUsernameProblemLanguageResultExecution timeMemory
548879Trisanu_DasHotter Colder (IOI10_hottercolder)C++17
50 / 100
575 ms8108 KiB
#include<bits/stdc++.h> #include "grader.h" using namespace std; int Guess (int x); int HC(int n){ int l = 1,r = n; // bruh. while(l != r){ Guess(l); int try_ = Guess(r); if(try_ == -1) r = (l + r - 1) / 2; else if(try_ == 1) l = (l + r + 1) / 2; else return (l + r) / 2; } 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...