记录详情

Runtime Error

foo.c: In function 'main':
foo.c:5:12: warning: character constant too long for its type
     printf('"enjoy yourself"\n');
            ^~~~~~~~~~~~~~~~~~~~
foo.c:5:12: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
In file included from /usr/include/stdio.h:862:0,
                 from foo.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:102:1: note: expected 'const char * restrict' but argument is of type 'int'
 printf (const char *__restrict __fmt, ...)
 ^~~~~~
foo.c:5:5: warning: format not a string literal and no format arguments [-Wformat-security]
     printf('"enjoy yourself"\n');
     ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1191 语言起点
语言
C
递交时间
2021-08-28 23:29:15
评测时间
2021-08-28 23:29:15
评测机
分数
0
总耗时
0ms
峰值内存
256.0 KiB