记录详情

Compile Error

foo.c: In function ‘is_prime’:
foo.c:25:5: error: expected expression at end of input
   25 |     if (num % 2 == 0)
      |     ^~
foo.c:25:5: note: ‘-Wmisleading-indentation’ is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
foo.c:25:5: note: adding ‘-flarge-source-files’ will allow for more column-tracking support, at the expense of compilation time and memory
foo.c:25:5: error: expected declaration or statement at end of input
foo.c:27: warning: control reaches end of non-void function [-Wreturn-type]

信息

递交者
类型
递交
题目
A3-3 素数专题:素数个数
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-19 23:55:14
评测时间
2024-08-19 23:55:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes