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 1192. Ball in a Dream

if you have good solution, but programme was not accepted / Если ваша программа работает, но почему-то не принимается
Posted by Egor Sibriaev 18 Dec 2021 16:34
try changing the cycle: while(energy > 0.01) to while (energy > 0.00000000001)
Maybe this will help you

Попробуйте поменять цикл while (energy > 0.01) на while (energy > 0.00000000001)
Возможно, это поможет