tnct-spc / procon2014

25th-Kosen-Procon Competition
MIT License
8 stars 0 forks source link

Algorithm_2がデストラクタで落ちる問題 #14

Closed godai0519 closed 9 years ago

godai0519 commented 9 years ago

いちおう書いとく

godai0519 commented 9 years ago

メンバ関数resetの中で配列をnewし,デストラクタで開放しているので, resetが呼ばれなかった場合は,delete対象がアレになるため起きていたと推定.

if分岐によって修正.