/ CCF-Noip /

记录详情

Accepted

/in/foo.cc: In function 'void solve_BFS()':
/in/foo.cc:122:9: warning: 'z2dt' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (z1dt!=z2dt) state.m_hp+=z2min;
         ^~
/in/foo.cc:112:36: 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:9: warning: 'z1dt' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (z1dt!=z2dt) state.m_hp+=z2min;
         ^~
/in/foo.cc:112:20: 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 60ms 53.004 MiB
#2 Accepted 43ms 53.012 MiB
#3 Accepted 84ms 53.109 MiB
#4 Accepted 93ms 53.0 MiB
#5 Accepted 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1001 1 marine VS 2 zerglings
语言
C++
递交时间
2019-04-13 09:53:24
评测时间
2019-04-13 09:53:24
评测机
分数
100
总耗时
283ms
峰值内存
53.109 MiB