/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void dp()':
/in/foo.cc:27:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 if(j-p[i].a>=0)
                 ^~
/in/foo.cc:29:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                    f[i][j]=minx(f[i][j],maxn(t[i]-j+p[i].b,f[i-1][j]));
                    ^
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 2ms 468.0 KiB
#3 Accepted 2ms 892.0 KiB
#4 Accepted 2ms 656.0 KiB
#5 Accepted 4ms 3.18 MiB
#6 Accepted 6ms 4.934 MiB
#7 Accepted 18ms 15.535 MiB
#8 Accepted 19ms 16.387 MiB
#9 Accepted 18ms 16.145 MiB
#10 Accepted 12ms 9.684 MiB

信息

递交者
类型
递交
题目
P1551 我是打饭的
语言
C++
递交时间
2021-12-06 20:00:02
评测时间
2021-12-06 20:00:02
评测机
分数
100
总耗时
89ms
峰值内存
16.387 MiB