记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:16: warning: too many arguments for format [-Wformat-extra-args]
    8 |         printf("1",n);
      |                ^~~
/in/foo.c:10:16: warning: too many arguments for format [-Wformat-extra-args]
   10 |         printf("2",n);
      |                ^~~
/in/foo.c:12:16: warning: too many arguments for format [-Wformat-extra-args]
   12 |         printf("3",n);
      |                ^~~
/in/foo.c:14:16: warning: too many arguments for format [-Wformat-extra-args]
   14 |         printf("4",n);
      |                ^~~
/in/foo.c:16:16: warning: too many arguments for format [-Wformat-extra-args]
   16 |         printf("5",n);
      |                ^~~
/in/foo.c:15:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   15 |     else
      |     ^~~~
/in/foo.c:17:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   17 |         for(int e;;c++){
      |         ^~~
/in/foo.c:21:68: error: expected ';' before '\U0000ff1b'
   21 |                 printf("%d %d %d %d %d\n",a[1],a[2],a[3],a[4],a[5]);
      |                                                                    ^~
      |                                                                    ;
/in/foo.c:25:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   25 |                 if(a[i]>a[j]);
      |                 ^~
/in/foo.c:26:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   26 |                         a[i]=t;
      |                         ^

信息

递交者
类型
自测
语言
C
递交时间
2025-11-22 14:38:01
评测时间
2025-11-22 14:38:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes