Skip to content

Commit

Permalink
Update 2222.Number-of-Ways-to-Select-Buildings.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wisdompeak authored Jun 19, 2022
1 parent 99304f3 commit 7d629b3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ class Solution {

dp[0][0][0] = 1;
dp[0][0][1] = 1;

LL ret = 0;


for (int i=1; i<=n; i++)
for (int j=0; j<=3; j++)
for (int k=0; k<2; k++)
Expand Down

0 comments on commit 7d629b3

Please sign in to comment.