/ dl24oi /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(e);
  ^~~~
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:10:8: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(e);
        ^
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:11:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(f);
  ^~~~
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:11:8: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(f);
        ^
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/cc01pVv7.o: In function `main':
foo.cc:(.text.startup+0x22): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Runtime Error 3ms 2.215 MiB
#2 Runtime Error 5ms 2.25 MiB
#3 Runtime Error 6ms 2.25 MiB
#4 Runtime Error 19ms 2.254 MiB
#5 Runtime Error 692ms 2.465 MiB
#6 Time Exceeded ≥1000ms ≥2.5 MiB
#7 Time Exceeded ≥1003ms ≥2.75 MiB
#8 Time Exceeded ≥1000ms ≥2.832 MiB
#9 Time Exceeded ≥1003ms ≥2.973 MiB
#10 Time Exceeded ≥1001ms ≥1.625 MiB

信息

递交者
类型
递交
题目
【DAG-Net模板题库】A*B Problem
语言
C++
递交时间
2017-10-30 19:19:30
评测时间
2017-10-30 19:19:30
评测机
分数
0
总耗时
5737ms
峰值内存
2.973 MiB