记录详情

Compile Error

/in/foo.c: In function 'prime':
/in/foo.c:6:23: error: 'false' undeclared (first use in this function)
   if (num < 2) return false;
                       ^~~~~
/in/foo.c:6:23: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:12:12: error: 'true' undeclared (first use in this function)
     return true;
            ^~~~
/in/foo.c:4:6: warning: unused variable 'count' [-Wunused-variable]
  int count=0;
      ^~~~~
/in/foo.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
自测
语言
C
递交时间
2024-11-19 08:03:10
评测时间
2024-11-19 08:03:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes