HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2013-2015 > problem:


2014-10Gr-20. 50417 - Fun Fair

Epoka Science Olympiad 2013-2015

Start: May.18.2013 at 10:00:00 AM
Finish: May.18.2013 at 03:00:00 PM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (1)

Contest problems

• 2013-10Gr-10. 50310 - Kinetic Energy
• 2013-10Gr-20. 50311 - Student Line Up
• 2013-10Gr-40. 50313 - Pattern Disp...
• 2013-11Gr-10. 50314 - Falling Distance
• 2013-11Gr-20. 50315 - Pig Latin
• 2013-11Gr-30. 50316 - Population B...
• 2013-11Gr-40. 50317 - Student Line Up
• 2014-10Gr-10. 50424 - Area
• 2014-10Gr-20. 50417 - Fun Fair
• 2014-10Gr-30. 50418 - Student ave...
• 2014-10Gr-40. 50429 - Secret Message
• 2014-11Gr-10. 50430 - ATM
• 2014-11Gr-20. 50420 - Teachers Si...
• 2014-11Gr-30. 50431 - Sultan's Game
• 2015-09Gr-10. 50344 - Profit or Loss
• 2015-09Gr-20. 50725 - Fibonacci Se...
• 2015-09Gr-30. 50302 - Paper Sciss...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Question by Halil Karimis.

Fun Fair

Task: Primary school teacher with N pupils from 3-A class decide to go to funfair at the weekend. In funfair they want to take a ride on ferris wheel. Ferris wheel can hold up most to K person at one rotation ride. One ferris wheel rotation ride takes M minute. Each student wants to ride ferris wheel twice.

Find out minimum time that teacher have to spend at ferris wheel if all his students will take a ride twice.

Input specification
Get three numbers:

  • K - Maximum number of person that Ferris wheel can hold up.
  • M - Time spended for one Ferris wheel ride.
  • N - Number of pupil.

Output specification
Show one number: total time spended on ferris wheel.

 Sample Input I     Sample Input II     Sample Input III   
 2 4 8
 30 5 12
 3 6 7
 Sample Output I     Sample Output II     Sample Output III   
 32
 10
 36


Для отправки решений необходимо выполнить вход.

www.contester.ru