Runtime Error
/in/foo.c:3:6: warning: return type of 'main' is not 'int' [-Wmain] void main(){ ^~~~ /in/foo.c: In function 'main': /in/foo.c:5:9: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[50]' [-Wformat=] scanf("%s",&s); ^
# | 状态 | 耗时 | 内存占用 |
---|