Advertisement
JoelSjogren

Untitled

Jun 19th, 2022
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. <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.
  2. 3:30 PM → Koen and dsrt^ joined ⇐ seninha and Arcorann quit • kurahaupo_ → kurahaupo
  3. 3:36 PM <Simplar> I know that I should divide sum of quantities of both rolls by k, and then multiply by n.
  4. 3:36 PM <Simplar> But how to express the quantity of both rolls through x and y?
  5. 3:37 PM → MajorBiscuit joined ⇐ sazawal quit
  6. 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
  7. 3:42 PM <Simplar> savask: yes, correct
  8. 3:42 PM <Simplar> and c = yp, too
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement