Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:36:5: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     gets(s+1);
     ^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
                 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:36:13: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     gets(s+1);
             ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
                 from /in/foo.cc:1:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/tmp/cc3fXQdI.o: In function `main':
foo.cc:(.text.startup+0x21): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 4ms 6.207 MiB
#2 Accepted 3ms 6.215 MiB
#3 Accepted 3ms 6.199 MiB
#4 Accepted 28ms 6.457 MiB
#5 Accepted 38ms 10.324 MiB
#6 Accepted 33ms 6.582 MiB
#7 Accepted 29ms 6.699 MiB
#8 Accepted 193ms 10.457 MiB
#9 Accepted 231ms 10.949 MiB
#10 Accepted 414ms 11.082 MiB
#11 Accepted 3ms 6.199 MiB
#12 Accepted 2ms 4.199 MiB
#13 Accepted 2ms 6.199 MiB
#14 Accepted 2ms 6.199 MiB
#15 Accepted 2ms 6.199 MiB
#16 Accepted 2ms 6.199 MiB
#17 Accepted 5ms 6.324 MiB
#18 Accepted 5ms 6.324 MiB
#19 Accepted 3ms 8.199 MiB
#20 Accepted 5ms 8.199 MiB
#21 Accepted 5ms 6.324 MiB
#22 Accepted 21ms 8.699 MiB
#23 Accepted 26ms 6.324 MiB
#24 Accepted 31ms 8.199 MiB
#25 Accepted 28ms 6.324 MiB
#26 Accepted 31ms 6.324 MiB
#27 Accepted 451ms 12.199 MiB
#28 Accepted 854ms 12.207 MiB
#29 Accepted 408ms 11.824 MiB

信息

递交者
类型
递交
题目
「一本通 2.1 练习 4」A Horrible Poem
语言
C++
递交时间
2019-08-28 16:49:13
评测时间
2019-08-28 16:56:49
评测机
分数
1450
总耗时
2877ms
峰值内存
12.207 MiB