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 1688. Team.GOV!

Show all messages Hide all messages

use double no need to have long long integer Anupam Ghosh,Bengal Engg and Sc Uni,MtechIT,2006-09,India 21 Jul 2009 18:35
u can use double but beware during comparison of double numbers since c language behaves abnormally while comparing floating point numbers. otherwise problem is as easy as it seems. if you are getting WA11 then read problem statement properly again and again.
You can solve this problem using only int, not even int64.