记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:27: warning: 'w' may be used uninitialized in this function [-Wmaybe-uninitialized]
    dp[j]=max(dp[j],dp[j-w]+w);
                    ~~~~~~~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 344.0 KiB
#2 Accepted 10ms 9.816 MiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 24ms 464.0 KiB
#5 Accepted 2ms 2.203 MiB
#6 Accepted 5ms 336.0 KiB
#7 Accepted 9ms 460.0 KiB
#8 Accepted 922ms 9.961 MiB
#9 Time Exceeded ≥1004ms ≥6.832 MiB
#10 Accepted 2ms 344.0 KiB

信息

递交者
类型
递交
题目
P1000 窃取培优1.0
语言
C++
递交时间
2020-02-26 15:30:21
评测时间
2020-02-26 15:30:21
评测机
分数
90
总耗时
≥1985ms
峰值内存
≥9.961 MiB