Skip to content

Commit

Permalink
malloc
Browse files Browse the repository at this point in the history
  • Loading branch information
witek-formanski committed Oct 26, 2023
1 parent 48bf54f commit e30a093
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* [zad. 12.] następna permutacja
* [lexicographical_order](./src/lexicographical_order.c) (C)
* [next_perm](./src/next_perm.c): autor: @lbozyk (C) :white_check_mark:
* [zad. 13.] sprawdź, czy jeden ciąg zawiera się w drugim
* [zad. 14.] sprawdź, czy jeden ciąg zawiera się w drugim
* [subsequence](./src/subsequence.c) (C)
* [zad. 16.] ciąg róznicowy
* [differential_sequence](./src/differential_sequence.c) (C)
Expand Down
5 changes: 5 additions & 0 deletions src/subsequence.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,9 @@ int main() {
}

printf("%d", is_subsequence(a, size_a, b, size_b));


free(a);
free(b);
return 0;
}

0 comments on commit e30a093

Please sign in to comment.