/ Vijos /

记录详情

Compile Error

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");
          ^

信息

递交者
类型
递交
题目
P1004 伊甸园日历游戏
语言
C
递交时间
2016-10-15 09:14:45
评测时间
2016-10-15 09:14:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes