-
Notifications
You must be signed in to change notification settings - Fork 2
sok
bradendubois edited this page Sep 9, 2021
·
8 revisions
ID: sok
Difficulty: 1.7
CPU Time: 1 second
Memory: 1024 MB
For this, take A/I, B/J, C/K, and sort these, taking the smallest of them. This is the most restrictive ratio on ingredients, so now output each A, B, C subtracting the previously-calculated ration, multipled by the respective I, J, K.