Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6523f8b

Browse files
Update coinchange.cpp
1 parent e527095 commit 6523f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎DP1(Very important)/coinchange.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Number of ways are - 4 total i.e. (1,1,1,1), (1,1, 2), (1, 3) and (2, 2).
3434
#include <bits/stdc++.h>
3535

3636
using namespace std;
37-
int countWaysToMakeChange(int S[], int n, int m){
37+
int countWaysToMakeChange(int S[], int m, int n){
3838
int i, j, x, y;
3939

4040
// We need n+1 rows as the table

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /