记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:13:16: warning: right-hand operand of comma expression has no effect [-Wunused-value]
   13 |         for(i=0,i<n;i++);{
      |                ^
/in/foo.c:13:24: error: expected ';' before ')' token
   13 |         for(i=0,i<n;i++);{
      |                        ^
      |                        ;
/in/foo.c:13:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   13 |         for(i=0,i<n;i++);{
      |         ^~~
/in/foo.c:13:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   13 |         for(i=0,i<n;i++);{
      |                          ^
/in/foo.c:16:16: warning: right-hand operand of comma expression has no effect [-Wunused-value]
   16 |         for(j=0,j<m;j++);{
      |                ^
/in/foo.c:16:24: error: expected ';' before ')' token
   16 |         for(j=0,j<m;j++);{
      |                        ^
      |                        ;
/in/foo.c:16:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   16 |         for(j=0,j<m;j++);{
      |         ^~~
/in/foo.c:16:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   16 |         for(j=0,j<m;j++);{
      |                          ^

信息

递交者
类型
自测
语言
C
递交时间
2025-11-28 20:58:48
评测时间
2025-11-28 20:58:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes