Submission #201503

# Submission time Handle Problem Language Result Execution time Memory
201503 2020-02-10T19:28:37 Z luciocf Hotter Colder (IOI10_hottercolder) C++14
25 / 100
251 ms 18844 KB
#include <bits/stdc++.h>
#include "grader.h"

using namespace std;

int HC(int n)
{
	if (n == 1) return 1;

	Guess(1);

	for (int i = 2; i <= n; i++)
	{
		int g = Guess(i);

		if (g == -1) return i-1;
	}

	return n;
}
# Verdict Execution time Memory Grader output
1 Correct 91 ms 1272 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 92 ms 1272 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 92 ms 1272 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Execution timed out 251 ms 18844 KB Time limit exceeded (wall clock)