记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:12:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i = 2;i<x;i++);
   ^~~
/in/foo.c:13:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   {
   ^
/in/foo.c:14:9: error: 'i' undeclared (first use in this function)
    if(x%i==0)
         ^
/in/foo.c:14:9: note: each undeclared identifier is reported only once for each function it appears in

信息

递交者
类型
递交
题目
A5-1 超级素数判断
语言
C
递交时间
2024-10-29 18:30:00
评测时间
2024-10-29 18:30:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes