Submission #1011765

# Submission time Handle Problem Language Result Execution time Memory
1011765 2024-07-01T08:08:52 Z uranhishig Hotter Colder (IOI10_hottercolder) C++14
25 / 100
276 ms 262144 KB
#include<bits/stdc++.h>
using namespace std;
int Guess(int G);
int HC(int n) {
	int x[n + 1];
	for(int i = 1; i <= n; i++) {
		x[i] = Guess(i); 
	}
	for(int i = 1; i < n; i++) {
		if(x[i + 1] == -1) {
			return i;
		}
	}
	return n;
}
# Verdict Execution time Memory Grader output
1 Correct 112 ms 6748 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 114 ms 6748 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 129 ms 6744 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 276 ms 262144 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -