foo.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
include <iostream> include <stdio.h> include <stdlib.h> include <algorithm> include <cmath> include <cstring>
^
foo.c:7:1: error: unknown type name 'bool'
bool a[2020][13][32] , f1 , f2;
^
foo.c: In function 'main':
foo.c:13:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf ("%d" , &n);
^
foo.c:13:1: warning: incompatible implicit declaration of built-in function 'scanf' [enabled by default]
foo.c:25:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf ("NO");
^
foo.c:25:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
foo.c:31:22: error: 'false' undeclared (first use in this function)
a[2006][11][4] = false;
^
foo.c:31:22: note: each undeclared identifier is reported only once for each function it appears in
foo.c:39:12: error: 'true' undeclared (first use in this function)
while (true)
^
foo.c:215:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
printf ("YES\n");
^
foo.c:217:10: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
else printf ("NO\n");
^