/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:43: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:1:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:43: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:1:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/tmp/ccvjyqov.o: In function `main':
foo.cc:(.text.startup+0x52): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 9ms 8.703 MiB
#2 Accepted 47ms 8.75 MiB
#3 Accepted 76ms 8.75 MiB
#4 Accepted 52ms 9.125 MiB
#5 Accepted 95ms 8.98 MiB
#6 Accepted 109ms 9.0 MiB
#7 Accepted 120ms 9.117 MiB
#8 Accepted 115ms 9.125 MiB
#9 Accepted 100ms 9.074 MiB
#10 Accepted 117ms 9.219 MiB

信息

递交者
类型
递交
题目
P1424 炮兵阵地
语言
C++
递交时间
2018-02-24 15:49:07
评测时间
2018-02-24 15:49:07
评测机
分数
100
总耗时
845ms
峰值内存
9.219 MiB