/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:53:1: warning: 'gets' is deprecated [-Wdeprecated-declarations]
 gets(a); 
 ^~~~
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__;
              ^~~~
/in/foo.c:54:1: warning: 'gets' is deprecated [-Wdeprecated-declarations]
 gets(b);
 ^~~~
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__;
              ^~~~
/in/foo.c:52:13: warning: unused variable 'j' [-Wunused-variable]
 int i,len=0,j; 
             ^
/in/foo.c:52:5: warning: unused variable 'i' [-Wunused-variable]
 int i,len=0,j; 
     ^
/tmp/ccxBrsoe.o: In function `main':
foo.c:(.text.startup+0x22): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Runtime Error 2ms 256.0 KiB
#2 Runtime Error 2ms 256.0 KiB
#3 Wrong Answer 4ms 256.0 KiB
#4 Wrong Answer 2ms 256.0 KiB
#5 Wrong Answer 2ms 256.0 KiB
#6 Wrong Answer 2ms 256.0 KiB
#7 Wrong Answer 3ms 256.0 KiB
#8 Wrong Answer 2ms 256.0 KiB
#9 Wrong Answer 2ms 256.0 KiB
#10 Wrong Answer 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1388 二叉树数
语言
C
递交时间
2018-04-03 01:03:55
评测时间
2018-04-03 01:03:55
评测机
分数
0
总耗时
26ms
峰值内存
256.0 KiB