message: Update longest-line-of-consecutive-one-in-matrix.cpp
diff: @@ -11,7 +11,7 @@ public:
  vector<vector<vector<int>>> dp(2, vector<vector<int>>(M[0].size(), vector<int>(4)));
  for (int i = 0; i < M.size(); ++i) {
  for (int j = 0; j < M[0].size(); ++j) {
  - dp[i % 2][j][0] = dp[i % 2][j][1] = dp[i % 2][j][2] = dp[i % 2][j][3] = 0
  + dp[i % 2][j][0] = dp[i % 2][j][1] = dp[i % 2][j][2] = dp[i % 2][j][3] = 0;
  if (M[i][j] == 1) {
  dp[i % 2][j][0] = j > 0 ? dp[i % 2][j - 1][0] + 1 : 1;
  dp[i % 2][j][1] = i > 0 ? dp[(i - 1) % 2][j][1] + 1 : 1;
  