/ TYWZ /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:2: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(a+1);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:21:10: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(a+1);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:21:12: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(a+1);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:21:20: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
  gets(a+1);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/cc3CeiFI.o: In function `main':
foo.cc:(.text.startup+0x1a): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 2ms 996.0 KiB
#2 Accepted 2ms 996.0 KiB
#3 Accepted 8ms 1.074 MiB
#4 Accepted 2ms 992.0 KiB
#5 Time Exceeded ≥1001ms ≥1.227 MiB
#6 Accepted 78ms 1.211 MiB
#7 Time Exceeded ≥1003ms ≥1.09 MiB
#8 Accepted 55ms 1.34 MiB
#9 Time Exceeded ≥1002ms ≥1.215 MiB
#10 Accepted 415ms 1.219 MiB

信息

递交者
类型
递交
题目
2019.2.13 Problem B - del
比赛
2019.2.13测验
语言
C++
递交时间
2019-02-13 16:28:26
评测时间
2019-02-13 16:28:26
评测机
分数
70
总耗时
≥3574ms
峰值内存
≥1.34 MiB