Time Exceeded

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:10:40: warning: array subscript is above array bounds [-Warray-bounds]
   for(int i=1;i<=dep-1;i++)cout<<a[i]<<' ';
                                        ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 380.0 KiB
#2 Accepted 97ms 9.965 MiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 332.0 KiB
#5 Accepted 1ms 332.0 KiB
#6 Accepted 1ms 356.0 KiB
#7 Time Exceeded ≥1000ms ≥760.0 KiB
#8 Accepted 243ms 484.0 KiB
#9 Time Exceeded ≥1005ms ≥6.598 MiB
#10 Accepted 93ms 9.473 MiB

信息

递交者
类型
递交
题目
P1603 素数之和(prim)
语言
C++
递交时间
2024-04-20 17:08:21
评测时间
2024-04-20 17:08:21
评测机
分数
80
总耗时
≥2447ms
峰值内存
≥9.965 MiB