Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Simplar> A baker can bake rolls of two kinds: with poppies and with cinnamons. A baker receives an order having x less cinnamon rolls than poppy rolls, and y times more poppy rolls than cinnamon rolls. An oven can bake up to k rolls at a time, and it takes n minutes to bake them. Find the total time necessary to bake all rolls ordered.
- 3:30 PM → Koen and dsrt^ joined ⇐ seninha and Arcorann quit • kurahaupo_ → kurahaupo
- 3:36 PM <Simplar> I know that I should divide sum of quantities of both rolls by k, and then multiply by n.
- 3:36 PM <Simplar> But how to express the quantity of both rolls through x and y?
- 3:37 PM → MajorBiscuit joined ⇐ sazawal quit
- 3:41 PM <savask> Simplar: Say p is the number of poppie rolls and c is the number of cinnamon rolls. First condition is that p-x = c
- 3:42 PM <Simplar> savask: yes, correct
- 3:42 PM <Simplar> and c = yp, too
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement