/ Vijos /

记录详情

Accepted

/in/foo.cc:3:19: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
 #define INF (1<<30-1)
                 ~~^~
/in/foo.cc:7:65: note: in expansion of macro 'INF'
 int q[10][N][10],l[10],r[10],m,n,cost,L,sum[10][N],f[N][10],ans=INF;
                                                                 ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:3:19: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
 #define INF (1<<30-1)
                 ~~^~
/in/foo.cc:13:54: note: in expansion of macro 'INF'
  for(int i=1;i<=n;++i) for(int j=1;j<=m;++j) f[j][i]=INF;
                                                      ^~~
# 状态 耗时 内存占用
#1 Accepted 56ms 10.625 MiB
#2 Accepted 58ms 18.5 MiB
#3 Accepted 37ms 8.5 MiB
#4 Accepted 61ms 18.625 MiB
#5 Accepted 60ms 16.375 MiB
#6 Accepted 73ms 13.215 MiB
#7 Accepted 90ms 14.875 MiB
#8 Accepted 108ms 14.0 MiB
#9 Accepted 75ms 16.637 MiB
#10 Accepted 128ms 19.113 MiB

信息

递交者
类型
递交
题目
P1243 生产产品
语言
C++
递交时间
2018-01-13 20:57:17
评测时间
2018-01-13 20:57:17
评测机
分数
100
总耗时
751ms
峰值内存
19.113 MiB