记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:6: error: array size missing in 'a'
 char a[];
      ^
/in/foo.c:8:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=]
   scanf("%c",a[i]);
           ^
/in/foo.c:12:50: error: lvalue required as left operand of assignment
   if(a[i]='a'||a[i]='e'||a[i]='i'||a[i]='o'||a[i]='u')
                                                  ^
/in/foo.c:20:1: error: expected declaration or statement at end of input
 }
 ^

信息

递交者
类型
自测
语言
C
递交时间
2024-12-24 15:10:13
评测时间
2024-12-24 15:10:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes