ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2098. Lada Priora

If you have WA #3
Posted by Smilodon_am [Obninsk INPE] 23 Sep 2016 15:49
When you have WA #3, perhaps you check condition in integer values, so use 64-bit integer values. To avoid WA #3 try below test:

100000
10000 10000
100 100

Correct answer is:
Cash
51400000.00

Good luck!