/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void dp()':
/in/foo.cc:26:70: warning: 'add' may be used uninitialized in this function [-Wmaybe-uninitialized]
                     f[x][i][j][k]=max(f[x-1][i-1][j][k],max(f[x-1][i][j-1][k],max(f[x-1][i][j][k-1],
                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     max(f[x-1][i-1][j-1][k],max(f[x-1][i-1][j][k-1],max(f[x-1][i][j-1][k-1]
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     ,max(f[x-1][i-1][j-1][k-1],f[x-1][i][j][k])))))))+add;
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 332.0 KiB
#2 Accepted 1ms 464.0 KiB
#3 Accepted 1ms 336.0 KiB
#4 Accepted 1ms 720.0 KiB
#5 Accepted 2ms 976.0 KiB
#6 Accepted 3ms 1.324 MiB
#7 Accepted 3ms 1.262 MiB
#8 Accepted 3ms 1.34 MiB
#9 Accepted 3ms 1.332 MiB
#10 Accepted 3ms 1.32 MiB

信息

递交者
类型
递交
题目
P1143 三取方格数
语言
C++
递交时间
2019-12-14 23:35:44
评测时间
2019-12-14 23:35:44
评测机
分数
100
总耗时
25ms
峰值内存
1.34 MiB