记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:9:11: warning: right-hand operand of comma expression has no effect [-Wunused-value]
    9 |    for(i=1,i<n+1,i++)
      |           ^
/in/foo.c:9:21: error: expected ';' before ')' token
    9 |    for(i=1,i<n+1,i++)
      |                     ^
      |                     ;
/in/foo.c:9:21: error: expected expression before ')' token
/in/foo.c:11:8: error: lvalue required as left operand of assignment
   11 |     n*i=c;
      |        ^
/in/foo.c:13:30: error: lvalue required as left operand of assignment
   13 |         printf("%d*%d=%d",n*i=c);
      |                              ^
/in/foo.c:24:2: error: expected declaration or statement at end of input
   24 |  }
      |  ^

信息

递交者
类型
递交
比赛
2025-C-3
语言
C
递交时间
2025-12-29 10:19:58
评测时间
2025-12-29 10:19:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes