/ rignts /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:9: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(s);
         ^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /usr/include/c++/6/ext/string_conversions.h:43,
                 from /usr/include/c++/6/bits/basic_string.h:5417,
                 from /usr/include/c++/6/string:52,
                 from /usr/include/c++/6/bits/locale_classes.h:40,
                 from /usr/include/c++/6/bits/ios_base.h:41,
                 from /usr/include/c++/6/ios:42,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 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:14:15: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
         gets(s);
               ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /usr/include/c++/6/ext/string_conversions.h:43,
                 from /usr/include/c++/6/bits/basic_string.h:5417,
                 from /usr/include/c++/6/string:52,
                 from /usr/include/c++/6/bits/locale_classes.h:40,
                 from /usr/include/c++/6/bits/ios_base.h:41,
                 from /usr/include/c++/6/ios:42,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 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:22:13: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
             gets(s);
             ^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /usr/include/c++/6/ext/string_conversions.h:43,
                 from /usr/include/c++/6/bits/basic_string.h:5417,
                 from /usr/include/c++/6/string:52,
                 from /usr/include/c++/6/bits/locale_classes.h:40,
                 from /usr/include/c++/6/bits/ios_base.h:41,
                 from /usr/include/c++/6/ios:42,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 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:22:19: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
             gets(s);
                   ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from /usr/include/c++/6/ext/string_conversions.h:43,
                 from /usr/include/c++/6/bits/basic_string.h:5417,
                 from /usr/include/c++/6/string:52,
                 from /usr/include/c++/6/bits/locale_classes.h:40,
                 from /usr/include/c++/6/bits/ios_base.h:41,
                 from /usr/include/c++/6/ios:42,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:1:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/tmp/cccUSD86.o: In function `main':
foo.cc:(.text.startup+0x5a): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 58ms 5.906 MiB
#2 Accepted 55ms 7.992 MiB
#3 Accepted 45ms 4.871 MiB
#4 Accepted 48ms 5.062 MiB
#5 Accepted 69ms 5.375 MiB
#6 Accepted 54ms 5.023 MiB
#7 Accepted 45ms 6.312 MiB
#8 Accepted 52ms 7.949 MiB
#9 Accepted 64ms 6.441 MiB
#10 Accepted 38ms 5.441 MiB
#11 Time Exceeded ≥2005ms ≥2.574 MiB
#12 Accepted 2ms 2.566 MiB

信息

递交者
类型
递交
题目
P1015 1
语言
C++
递交时间
2020-02-12 15:01:57
评测时间
2020-02-12 15:15:22
评测机
分数
95
总耗时
≥2541ms
峰值内存
≥7.992 MiB