Submission #41027

# Submission time Handle Problem Language Result Execution time Memory
41027 2018-02-12T06:10:34 Z didwlvv Hotter Colder (IOI10_hottercolder) C++14
0 / 100
10000 ms 8544 KB
#include "grader.h"

int HC(int N){
	Guess(1);
	for (int i = 2; i <= N; i++) {
		if (Guess(i) == -1)return i - 1;
	}
}

Compilation message

hottercolder.cpp: In function 'int HC(int)':
hottercolder.cpp:8:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# Verdict Execution time Memory Grader output
1 Incorrect 95 ms 1400 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 100 ms 1424 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 93 ms 1400 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Execution timed out 10029 ms 8544 KB Time limit exceeded