1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

feat(solutions): add cakes-swerc-2020-2021/rust/function

This commit is contained in:
Divlo
2023-01-04 17:28:00 +01:00
parent 71e46d85fb
commit 431253da57
5 changed files with 64 additions and 2 deletions

View File

@ -15,8 +15,8 @@ make?
### Input
- **Line 1:** Single integer `N` for the number of ingredients
- **`n` next lines:**, One for each ingredient. Each of these lines contains two positive integers:
- **Line 1:** Single integer `N` for the number of ingredients.
- **`N` next lines:** One for each ingredient. Each of these lines contains two positive integers:
the first one is the required quantity of this ingredient per cake, the second one is the quantity of
this ingredient you have in your kitchen.