记录详情

Compile Error

/in/foo.c:3:1: error: unknown type name 'bool'
 bool sushu(int x)
 ^~~~
/in/foo.c: In function 'sushu':
/in/foo.c:5:23: error: 'false' undeclared (first use in this function)
     if(x%2==0) return false;
                       ^~~~~
/in/foo.c:5:23: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:14:12: error: 'true' undeclared (first use in this function)
     return true;
            ^~~~
/in/foo.c:15:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
A5-1 超级素数判断
语言
C
递交时间
2019-09-27 22:57:17
评测时间
2019-09-27 22:57:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes