/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void solve_BFS()':
/in/foo.cc:122:3: warning: 'z2dt' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (z1dt!=z2dt) state.m_hp+=z2min;
   ^~
/in/foo.cc:112:33: note: 'z2dt' was declared here
  int z1min=1008,z1dt,z2min=1007,z2dt,z1hp=max(0,state.z_hp-zerglinghp),z2hp=min(zerglinghp,state.z_hp);
                                 ^~~~
/in/foo.cc:122:3: warning: 'z1dt' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (z1dt!=z2dt) state.m_hp+=z2min;
   ^~
/in/foo.cc:112:17: note: 'z1dt' was declared here
  int z1min=1008,z1dt,z2min=1007,z2dt,z1hp=max(0,state.z_hp-zerglinghp),z2hp=min(zerglinghp,state.z_hp);
                 ^~~~
# 状态 耗时 内存占用
#1 Accepted 90ms 53.016 MiB
#2 Accepted 70ms 53.008 MiB
#3 Accepted 81ms 52.996 MiB
#4 Accepted 94ms 52.996 MiB
#5 Accepted 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1766 1 marine VS 2 zergling
语言
C++
递交时间
2019-03-30 09:12:27
评测时间
2019-03-30 09:12:27
评测机
分数
100
总耗时
339ms
峰值内存
53.016 MiB