/ CWOI /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:25: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
     for(int i=0; i<(1<<n+1); ++i)
                        ~^~
/in/foo.cc:27:25: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
     for(int i=1; i<(1<<n+1); ++i)
                        ~^~
/in/foo.cc:38:32: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
         ans = min(ans, dp[(1<<n+1)-1][i]+G[i][0]);
                               ~^~
# 状态 耗时 内存占用
#1 Accepted 3ms 356.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 3ms 312.0 KiB
#6 Accepted 30ms 5.75 MiB
#7 Accepted 34ms 6.875 MiB
#8 Accepted 35ms 6.199 MiB
#9 Accepted 35ms 6.07 MiB
#10 Accepted 26ms 5.5 MiB

信息

递交者
类型
递交
题目
2017.07.05 P2 送快餐
语言
C++
递交时间
2017-07-05 19:08:09
评测时间
2017-07-05 19:08:09
评测机
分数
100
总耗时
178ms
峰值内存
6.875 MiB