Submission #241564

#TimeUsernameProblemLanguageResultExecution timeMemory
241564davi_bartHotter Colder (IOI10_hottercolder)C++14
0 / 100
10089 ms24440 KiB
#pragma GCC optimize("O3") #include <bits/stdc++.h> #include "grader.h" using namespace std; #define ll long long //#define int ll mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); int ans(int a,int b){ Guess(a); int x=Guess(b); if(x==0)return (a+b)/2; if(x==-1)return ans(a,(a+b)/2); return ans((a+b)/2,b); } int HC(int N){ return ans(1,N); }/* signed main(){ ios_base::sync_with_stdio(0);cin.tie(0); }*/ /* 5 5 3 3 5 11 12 16 25 17 18 2 7 10 4 23 20 3 1 24 21 19 14 9 6 22 8 13 15 */
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...