# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1074658 | DeathIsAwe | Hotter Colder (IOI10_hottercolder) | C++17 | 527 ms | 8236 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "grader.h"
#include <iostream>
#include <vector>
using namespace std;
int destroy(int top, int bottom, int previous) {
//cout << top << ' ' << bottom << '\n';
/*
if (top - bottom == 0) {
ans = top;
return;
} else if (top - bottom == 1) {
int sussy;
if (previous == -1) {
Guess(top); sussy = Guess(bottom);
} else if (previous == top) {
sussy = Guess(bottom);
} else {
sussy = -Guess(top);
}
if (sussy == 1) {
ans = bottom;
} else {
ans = top;
}
return;
}
*/
int mid = (top + bottom) / 2;
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |