aboutsummaryrefslogtreecommitdiff
path: root/test/072_coord_co/coord_co_tests.c
blob: e24f1452a9e8b8b1f5626ecd2500a365ea22ed71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "../test.h"

uint64_t coord_co(cube_t);

void run(void) {
	char str[STRLENMAX];
	oriented_cube_t cube;
	uint64_t result;

	fgets(str, STRLENMAX, stdin);
	cube = readcube(str);

	result = coord_co(cube.cube);

	printf("%" PRIu64 "\n", result);
}

Generated with cgit - Back to sebastiano.tronto.net