aboutsummaryrefslogtreecommitdiff
path: root/build_matrix_conditions.cpp
diff options
context:
space:
mode:
authorJack Sangdahl <jack@pngu.org>2025-01-29 11:46:16 -0700
committerJack Sangdahl <jack@pngu.org>2025-01-29 11:46:16 -0700
commit2de9d2dce0fd4de524961ad5188a95410f4432c2 (patch)
tree0da068bf95592f39f2dd4f135b0e73b689df27d0 /build_matrix_conditions.cpp
parentad25ada54a68851b935f52f9d1bc4ec969583205 (diff)
downloadleetcode-2de9d2dce0fd4de524961ad5188a95410f4432c2.tar.gz
leetcode-2de9d2dce0fd4de524961ad5188a95410f4432c2.zip
chore: Fix vvd usages
Diffstat (limited to 'build_matrix_conditions.cpp')
-rw-r--r--build_matrix_conditions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/build_matrix_conditions.cpp b/build_matrix_conditions.cpp
index d49c5fe..e192dda 100644
--- a/build_matrix_conditions.cpp
+++ b/build_matrix_conditions.cpp
@@ -79,9 +79,9 @@ public:
int main() {
Solution obj;
- vvd(int) rc1 = {{1, 2}, {3, 2}}, cc1 = {{2, 1}, {3, 2}};
- vvd(int) rc2 = {{1, 2}, {2, 3}, {3, 1}, {2, 3}}, cc2 = {{2, 1}};
- vvd(int) bm1 = obj.buildMatrix(3, rc1, cc1),
+ vvd rc1 = {{1, 2}, {3, 2}}, cc1 = {{2, 1}, {3, 2}};
+ vvd rc2 = {{1, 2}, {2, 3}, {3, 1}, {2, 3}}, cc2 = {{2, 1}};
+ vvd bm1 = obj.buildMatrix(3, rc1, cc1),
bm2 = obj.buildMatrix(3, rc2, cc2);
for (int i = 0; i < bm1.size(); i++) {
for (int j = 0; j < bm1[0].size(); j++)