Submission #388142

# Submission time Handle Problem Language Result Execution time Memory
388142 2021-04-10T09:26:41 Z Apiram Hotter Colder (IOI10_hottercolder) C++14
0 / 100
755 ms 8172 KB
#include "grader.h"
#include<bits/stdc++.h>
using namespace std;

int HC(int N){
	int left= 1,right = N;
	int a;
	while (left<right){
		int mid = left + (right-left)/2;
		a=Guess(mid);
		a=Guess(mid+1);
		if (a==-1)right=mid;
		else {
			a=Guess(mid-1);
			if (a==0)return mid;
			else if (a==-1)
			left = mid+1;
		}
	
	}
	return left;
	}

# Verdict Execution time Memory Grader output
1 Incorrect 26 ms 1228 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 26 ms 1316 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 26 ms 1364 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 755 ms 8172 KB Output isn't correct - alpha = 0.000000000000