dengxinyi 6 tahun lalu
induk
melakukan
f4e342eae7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      poj/1185.artillery-position/main.cc

+ 1 - 1
poj/1185.artillery-position/main.cc

@@ -8,7 +8,7 @@ const int N = 100;
 const int M = 10;
 const int S = 60;
 
-char row[M + 1];
+char row[M + 1]; // Stores each row of map
 int map[N]; // Bitmap of each row, 1 stands for hill
 int st[S], s; // All valid state
 int dp[N][S][S]; // dp[i][j][k] means max cnt at row i, when row i at state j and row i-1 at state k