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 1316. Electronic Auction

For anybody, who get WA on test 6
Posted by X 10 Sep 2004 17:58
if you write on C++ may be such change help:

scanf("%Lf", &a);

x = a * 100.0 //- WA test 6

x = floorl(a * 100.0 + 0.5) //- AC

Edited by author 10.09.2004 18:33

Edited by author 10.09.2004 18:33
Re: For anybody, who get WA on test 6
Posted by Oracle[Lviv NU] 9 Nov 2009 22:19
Thanks! Really helpful!
Re: For anybody, who get WA on test 6
Posted by Wlad 14 Dec 2017 02:30
Many thanks!