/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:46:9: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(s);
         ^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /in/foo.cc:4:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:46:15: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(s);
               ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /in/foo.cc:4:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/tmp/cc2y8FNT.o: In function `main':
foo.cc:(.text.startup+0x52): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 6ms 8.73 MiB
#2 Accepted 8ms 8.676 MiB
#3 Accepted 33ms 8.836 MiB
#4 Accepted 28ms 8.828 MiB
#5 Accepted 41ms 8.879 MiB
#6 Accepted 69ms 9.035 MiB
#7 Accepted 63ms 9.039 MiB
#8 Accepted 46ms 9.113 MiB
#9 Accepted 47ms 9.145 MiB
#10 Accepted 96ms 9.113 MiB

信息

递交者
类型
递交
题目
P1424 炮兵阵地
语言
C++
递交时间
2020-05-24 22:13:12
评测时间
2020-05-24 22:13:12
评测机
分数
100
总耗时
443ms
峰值内存
9.145 MiB