记录详情

Time Exceeded

/in/foo.cc: In function 'int read(int&)':
/in/foo.cc:16:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:40:24: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   for(int i=1;i<=n;i++)gets(a);
                        ^~~~
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:40:30: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   for(int i=1;i<=n;i++)gets(a);
                              ^
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/ccRwyN3B.o: In function `main':
foo.cc:(.text.startup+0x5f): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Time Exceeded ≥1003ms ≥256.0 KiB
#2 Time Exceeded ≥1001ms ≥364.0 KiB
#3 Wrong Answer 4ms 364.0 KiB
#4 Time Exceeded ≥1004ms ≥348.0 KiB
#5 Wrong Answer 4ms 356.0 KiB
#6 Wrong Answer 3ms 376.0 KiB
#7 Time Exceeded ≥1004ms ≥376.0 KiB
#8 Wrong Answer 3ms 352.0 KiB
#9 Time Exceeded ≥1004ms ≥348.0 KiB
#10 Time Exceeded ≥1005ms ≥384.0 KiB

信息

递交者
类型
递交
题目
cubes
比赛
初二普及组模拟赛0914
语言
C++
递交时间
2018-09-15 11:04:17
评测时间
2018-09-15 11:04:17
评测机
分数
0
总耗时
≥6040ms
峰值内存
≥384.0 KiB