diff --git a/day_8/2.c b/day_8/2.c index 1999cd5..7fb7c54 100644 --- a/day_8/2.c +++ b/day_8/2.c @@ -85,36 +85,6 @@ int main(void) { } } -#ifdef DEBUG - for (unsigned int i = 0; i < GRID_SIZE; i++) { - for (unsigned int j = 0; j < GRID_SIZE; j++) { - unsigned char found_freq = 0; - for (unsigned int k = 0; k < 'z' + 1; k++) { - for (unsigned int l = 0; l < data[k].index; l++) { - if (data[k].points[l].x == j && data[k].points[l].y == i) { - printf("%c", k); - found_freq = 1; - break; - } - } - if (found_freq) { - break; - } - } - - if (!found_freq) { - if (antinodes[i][j] == 1) { - printf("#"); - continue; - } - printf("."); - } - } - - printf("\n"); - } -#endif - printf("%u\n", sum); fclose(fp);