Accepted
/in/foo.c: In function 'main': /in/foo.c:7:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[20]' [-Wformat=] scanf("%s", &a); ^ /in/foo.c:8:23: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (int i = 0; i < strlen(a); ++i) ^~~~~~ /in/foo.c:8:23: warning: incompatible implicit declaration of built-in function 'strlen' /in/foo.c:8:23: note: include '<string.h>' or provide a declaration of 'strlen'
信息
- 递交者
- 类型
- 递交
- 题目
- 0
- 语言
- C
- 递交时间
- 2018-07-01 10:08:17
- 评测时间
- 2018-07-01 10:15:44
- 评测机
- 分数
- 10
- 总耗时
- 2ms
- 峰值内存
- 256.0 KiB