/ Vijos /

记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:46:9: warning: 'gets' is deprecated [-Wdeprecated-declarations]
         gets(str);
         ^~~~
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:51:5: warning: 'gets' is deprecated [-Wdeprecated-declarations]
     gets(str);
     ^~~~
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:53:9: warning: 'gets' is deprecated [-Wdeprecated-declarations]
         gets(str);
         ^~~~
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/ccoYNBc8.o: In function `main':
foo.c:(.text.startup+0x37): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 2ms 3.207 MiB
#2 Wrong Answer 405ms 3.207 MiB
#3 Accepted 2ms 3.207 MiB
#4 Accepted 22ms 3.207 MiB
#5 Accepted 306ms 3.207 MiB
#6 Accepted 54ms 3.207 MiB
#7 Accepted 405ms 3.27 MiB
#8 Accepted 408ms 3.266 MiB
#9 Accepted 423ms 3.262 MiB
#10 Accepted 423ms 3.266 MiB

信息

递交者
类型
递交
题目
P1206 CoVH之再破难关
语言
C
递交时间
2021-01-03 16:44:46
评测时间
2021-01-03 16:44:46
评测机
分数
90
总耗时
2453ms
峰值内存
3.27 MiB