Submission #231082

# Submission time Handle Problem Language Result Execution time Memory
231082 2020-05-12T15:48:54 Z Dilshod_Imomov Hotter Colder (IOI10_hottercolder) C++17
25 / 100
10000 ms 24568 KB
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
int HC(int N){
	if ( N == 1 ) {
		return 1;
	}
	Guess(1);
	for ( int i = 2; i <= N; i++ ) {
		if ( Guess(i) == -1 ) {
			return i - 1;
		}
	}
	return N;	
}
# Verdict Execution time Memory Grader output
1 Correct 91 ms 1280 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 92 ms 1280 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 90 ms 1364 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Execution timed out 10026 ms 24568 KB Time limit exceeded