ocean #6317(2008/05/22 02:19 GMT) [ diff ] Rating0/0=0.00
g++でコンパイルが通らなかったので、修正。(理由は不明)
1 2 3 4 5 6 7 8 9 10 11 12 13
--- 4.cpp.old Thu May 22 16:17:00 2008 +++ 4.cpp.new Thu May 22 16:16:47 2008 @@ -72,9 +72,7 @@ std::vector<std::vector<long> >(max_x, std::vector<long>(m + 1, std::numeric_limits<long>::max()))); - dp.front().swap( - std::vector<std::vector<long> >(max_x, - std::vector<long>(m + 1, 0))); + dp[0] = std::vector<std::vector<long> >(max_x, std::vector<long>(m + 1, 0)); REPE(y1, 0, n) REP(x1, 0, max_x) if (slip[y1][x1] >= 0) // source {
Rating0/0=0.00-0+
1 reply [ reply ]
ocean
#6317()
[
diff
]
Rating0/0=0.00
g++でコンパイルが通らなかったので、修正。(理由は不明)
Rating0/0=0.00-0+