记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:16: error: expected ';' before ')' token
  for (i = 1;i++);
                ^
/in/foo.c:5:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (i = 1;i++);
  ^~~
/in/foo.c:6:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  {
  ^
/in/foo.c:4:10: warning: unused variable 'sum' [-Wunused-variable]
  int i,j,sum=0;
          ^~~

信息

递交者
类型
自测
题目
A3-1 素数专题:因子的和
语言
C
递交时间
2024-08-19 18:35:31
评测时间
2024-08-19 18:35:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes