| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1241470 | mohamedboukerche55 | Hotter Colder (IOI10_hottercolder) | C++20 | 404 ms | 8240 KiB |
#include <bits/stdc++.h>
using namespace std;
#include "grader.h"
int HC(int n)
{
int l = 1, r = n;
while(l < r)
{
Guess(l);
int x = Guess(r);
if(x == 0)
{
return (l+r)/2;
}
else if (x == 1)
{
l = r - (r-l+1)/2 + 1;
}
else
{
r = l + (r-l+1)/2 - 1;
}
}
return l;
}| # | 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... | ||||
