Runtime Error
/in/foo.c: In function 'main':
/in/foo.c:8:11: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
8 | printf((int)(c));
| ^~~~~~~~
| |
| int
In file included from /in/foo.c:1:
/usr/include/stdio.h:356:43: note: expected 'const char * restrict' but argument is of type 'int'
356 | extern int printf (const char *__restrict __format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2026-11-13 20:03:09
- 评测时间
- 2026-11-13 20:03:09
- 评测机
- 分数
- 0
- 总耗时
- 2ms
- 峰值内存
- 284.0 KiB