/ TYWZ /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:86:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(A+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:86:10: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(A+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:87:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(B+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:87:10: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(B+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/ccBdlB8V.o: In function `main':
foo.cc:(.text.startup+0xf): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 220.0 KiB
#2 Wrong Answer 1ms 224.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 30ms 1.426 MiB
#6 Wrong Answer 28ms 1.332 MiB
#7 Accepted 18ms 1.117 MiB
#8 Accepted 32ms 2.293 MiB
#9 Wrong Answer 30ms 1.441 MiB
#10 Wrong Answer 30ms 1.414 MiB

信息

递交者
类型
递交
题目
2019.2.13 Problem B - del
比赛
2019.2.13测验
语言
C++
递交时间
2019-02-13 17:29:35
评测时间
2019-02-13 17:29:35
评测机
分数
20
总耗时
179ms
峰值内存
2.293 MiB