tnct-spc / procon2014

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

Murakamiまわりのバグ?(releaseブランチ) #6

Closed godai0519 closed 9 years ago

godai0519 commented 9 years ago

Murakami::combine_blockのラストの

return_combined_block[i + l_y][j + l_x] = block_comb.block1[i][j];

return_combined_blockの範囲外にアクセスして落ちる。 (Visual Studio 2013 で マグロ丼実行時)


また,Murakami::make_sorted_comparationの

ofs << now_point.x << "," << now_point.y << "," << k << "," << l << "," << sorted_comparation[now_point][k][l].x << "," << sorted_comparation[now_point][k][l].y << std::endl;

で,同じくsorted_comparationへの範囲外アクセスがある。 (clang++ビルド で マグロ丼実行時)