/ new_bzoj /

记录详情

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 5ms 2.25 MiB
#2 Accepted 151ms 10.0 MiB
#3 Accepted 175ms 8.375 MiB
#4 Accepted 3ms 360.0 KiB
#5 Accepted 5ms 492.0 KiB
#6 Accepted 5ms 468.0 KiB
#7 Accepted 6ms 4.344 MiB
#8 Accepted 5ms 2.5 MiB
#9 Accepted 7ms 2.496 MiB
#10 Accepted 7ms 4.371 MiB

信息

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