제출 #1125435

#제출 시각아이디문제언어결과실행 시간메모리
1125435SulAHotter Colder (IOI10_hottercolder)C++20
50 / 100
409 ms8236 KiB
#include <bits/stdc++.h> using namespace std; #include <ext/pb_ds/tree_policy.hpp> #include <ext/pb_ds/assoc_container.hpp> #include "grader.h" //#pragma GCC target("popcnt") using namespace __gnu_pbds; using namespace std; using ordered_set = tree<int, null_type, less_equal<>, rb_tree_tag, tree_order_statistics_node_update>; #define popcount __builtin_popcountll #define all(a) (a).begin(), (a).end() int HC(int n) { int l = 1, r = n; while (l < r) { int mid = (l+r)/2; Guess(mid); int res = Guess(mid + 1); if (res == 1) l = mid + 1; else r = mid; } 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...