/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool bfs()':
/in/foo.cc:21:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  for(R int i=1;i<=t;++i) vis[i]=dis[i]=0;
                                 ~~~~~~^~
/in/foo.cc:22:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  q.push(s),vis[s]=dis[s]=1;
                   ~~~~~~^~
/in/foo.cc: In function 'int dy()':
/in/foo.cc:77:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d\n",sum);
                   ^
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 4ms 2.359 MiB
#3 Accepted 5ms 2.473 MiB
#4 Accepted 6ms 2.359 MiB
#5 Accepted 5ms 384.0 KiB
#6 Accepted 5ms 384.0 KiB
#7 Accepted 5ms 2.34 MiB
#8 Accepted 6ms 508.0 KiB
#9 Accepted 159ms 9.375 MiB
#10 Accepted 169ms 9.621 MiB

信息

递交者
类型
递交
题目
P1352 最大获利
语言
C++
递交时间
2017-11-21 21:16:00
评测时间
2017-11-21 21:16:00
评测机
分数
100
总耗时
373ms
峰值内存
9.621 MiB