/ CCF-Noip /

记录详情

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 26ms 53.008 MiB
#2 Accepted 25ms 53.066 MiB
#3 Accepted 85ms 53.016 MiB
#4 Accepted 89ms 53.066 MiB
#5 Accepted 1ms 336.0 KiB

信息

递交者
类型
递交
题目
E1000 in and out
语言
C++
递交时间
2019-04-13 09:32:22
评测时间
2019-04-13 09:32:22
评测机
分数
100
总耗时
228ms
峰值内存
53.066 MiB