记录详情

Compile Error

/in/foo.c: In function 'maopaopaixu':
/in/foo.c:7:9: warning: statement with no effect [-Wunused-value]
    7 |         for(i;i<len-1;i++){
      |         ^~~
/in/foo.c: In function 'main':
/in/foo.c:21:17: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[100]' [-Wformat=]
   21 |         scanf("%s",&str);
      |                ~^  ~~~~
      |                 |  |
      |                 |  char (*)[100]
      |                 char *
/in/foo.c:22:21: error: expected expression before 'char'
   22 |         maopaopaixu(char str[]);
      |                     ^~~~

信息

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