Runtime Error
/in/foo.c: In function 'main':
/in/foo.c:18:5: warning: implicit declaration of function 'fgets' [-Wimplicit-function-declaration]
fgets(s1);
^~~~~
/in/foo.c:24:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%d %d", count1, count2);
^~~~~~
/in/foo.c:24:5: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:24:5: note: include '<stdio.h>' or provide a declaration of 'printf'
信息
- 递交者
- 类型
- 自测
- 题目
- A8-2 字符串的统计函数
- 语言
- C
- 递交时间
- 2024-11-26 08:10:52
- 评测时间
- 2024-11-26 08:10:52
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 308.0 KiB