mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-24 06:19:37 +03:00
fix: missing ;
in matrix_chain_order.c
This commit is contained in:
parent
e278f5d74f
commit
b1a8da69a8
@ -55,7 +55,7 @@ int matrixChainOrder(int l,const int *p, int *s) {
|
||||
void printSolution(int l,int *s,int i,int j) {
|
||||
if(i == j) {
|
||||
printf("A%d",i);
|
||||
return
|
||||
return;
|
||||
}
|
||||
putchar('(');
|
||||
printSolution(l,s,i,s[i * l + j]);
|
||||
|
Loading…
Reference in New Issue
Block a user