/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:28:5: warning: 'gets' is deprecated [-Wdeprecated-declarations]
     gets(s);
     ^~~~
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/tmp/ccKze9ZI.o: In function `main':
foo.c:(.text.startup+0xc): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 1ms 188.0 KiB
#2 Wrong Answer 0ms 184.0 KiB
#3 Wrong Answer 0ms 204.0 KiB
#4 Wrong Answer 1ms 188.0 KiB
#5 Wrong Answer 1ms 188.0 KiB
#6 Runtime Error 3ms 1.078 MiB
#7 Runtime Error 2ms 1.434 MiB
#8 Runtime Error 2ms 1.434 MiB
#9 Runtime Error 2ms 1.445 MiB
#10 Runtime Error 3ms 1.434 MiB

信息

递交者
类型
递交
题目
P1677 陶陶的名字
语言
C
递交时间
2018-10-28 17:16:50
评测时间
2018-10-28 17:16:50
评测机
分数
10
总耗时
19ms
峰值内存
1.445 MiB