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 1074. Very Short Problem

Help! - A very short problem - When should I output the sign?
Posted by Vinicius Fortuna 10 Sep 2002 22:47
The problem statement says that the sample input
-0.051e0
1
gives 0.0 as output, and not -0.0
Is that right or the sample is wrong?

If it was
-0.051e0
2
what should I output? -0.05 or 0.05?

Thanks a lot

Vinicius Fortuna
IC-Unicamp
On my mind -0.05
Posted by Algorithmus_UA(algorithmus@univ.kiev.ua) 14 Sep 2002 18:46