Submission #388148

# Submission time Handle Problem Language Result Execution time Memory
388148 2021-04-10T09:33:00 Z Apiram Hotter Colder (IOI10_hottercolder) C++14
0 / 100
750 ms 8248 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)left=mid+1;
		else {
			a=Guess(mid-1);
			if (a==0)return mid;
			else if (a==1)
			right = mid-1;
		 
		}
	
	}
	return right;
	}

# Verdict Execution time Memory Grader output
1 Incorrect 24 ms 1300 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 24 ms 1304 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 25 ms 1300 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 750 ms 8248 KB Output isn't correct - alpha = 0.000000000000