记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=2;i<x;i++);
  ^~~
/in/foo.c:8:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   if(x%i==0)break;
   ^~
/in/foo.c:8:13: error: break statement not within loop or switch
   if(x%i==0)break;
             ^~~~~

信息

递交者
类型
递交
题目
A3-2 素数专题:素数判断
语言
C
递交时间
2024-10-19 16:52:44
评测时间
2024-10-19 16:52:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes