/ Vijos /

记录详情

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 /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 /in/foo.cc:1:
/usr/include/stdio.h:640:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^~~~
/in/foo.cc:17:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < strlen(s); i++)
                         ~~^~~~~~~~~~~
/tmp/ccnHpVUv.o: In function `main':
foo.cc:(.text.startup+0x31): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 1.824 MiB
#2 Wrong Answer 3ms 1.801 MiB
#3 Wrong Answer 2ms 1.824 MiB
#4 Time Exceeded ≥1001ms ≥1.828 MiB
#5 Time Exceeded ≥1000ms ≥1.82 MiB
#6 Time Exceeded ≥1001ms ≥1.82 MiB
#7 Time Exceeded ≥1001ms ≥1.828 MiB
#8 Time Exceeded ≥1000ms ≥1.824 MiB
#9 Time Exceeded ≥1000ms ≥1.824 MiB
#10 Time Exceeded ≥1005ms ≥1.82 MiB

信息

递交者
类型
递交
题目
P1895 ニニスの守護
语言
C++
递交时间
2019-03-19 14:18:59
评测时间
2019-03-19 14:18:59
评测机
分数
0
总耗时
≥7022ms
峰值内存
≥1.828 MiB