Submission #1073598

# Submission time Handle Problem Language Result Execution time Memory
1073598 2024-08-24T16:26:16 Z Enzo Mini tetris (IOI16_tetris) C++17
0 / 100
1 ms 348 KB
#include "tetris.h"

void init(int n) {
}

int position;
int rotation;

void new_figure(int figure_type) {

	if(figure_type == 1){
		position = 0;
		rotation = 1;
	}
}

int get_position() {
	return position;
}

int get_rotation() {
	return rotation;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Game over! After 2 turns.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Game over! After 5 turns.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Game over! After 2 turns.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Game over! After 3 turns.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Game over! After 2 turns.
2 Halted 0 ms 0 KB -