Remove std namespace.

This commit is contained in:
Hung Dang 2019-03-29 00:58:55 -04:00
parent e4506fa092
commit 2d53e3a6f5
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ array to keep track of the maximum sums
for (int y = 1; y < N; ++y) { for (int y = 1; y < N; ++y) {
sum[0] += value[y][0]; sum[0] += value[y][0];
for (int x = 1; x < N; ++x) { for (int x = 1; x < N; ++x) {
sum[x] = value[y][x] + std::max(sum[x-1], sum[x]); sum[x] = value[y][x] + max(sum[x-1], sum[x]);
} }
} }
\end{lstlisting} \end{lstlisting}