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 1294. Mars Satellites

Test #6
Posted by Pisnyachevsky Nikolai 7 Apr 2006 23:30
I took into account all recomendations from discussions of this problem, but still have WA#6. Does anybody know this test?
Re: Test #6
Posted by AlexF 16 Apr 2006 20:46
I had the same WA#6. Try to use double for each variable. It helped me.
Re: Test #6
Posted by Alex Mullabaev'` 6 Feb 2016 11:10
also, you can use this: (long long)answer