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

Mamuka Sakhelashvili [Freeuni] WA on test 6 in C++ [3] // Problem 1316. Electronic Auction 22 Oct 2013 02:41
I have solved this problem by Fenvic tree, at first I got WA on 5 test, then I changed int-s into long long-s and now I have WA on 6 test. If you had this kind of experience please tell me what types should I use to get AC?
Thanks.
ძამაანთ [Tbilisi SU] Re: WA on test 6 in C++ [1] // Problem 1316. Electronic Auction 23 Oct 2013 04:18
The test 6 aint about data types' ranges.
Mamuka Sakhelashvili [Freeuni] Re: WA on test 6 in C++ // Problem 1316. Electronic Auction 24 Oct 2013 00:44
იდეაში, ეგ ხო ფენვიკის ხით უნდა გავიდეს, მე ვთვლი რაოდენობას, რამდენი გაყიდვა შესრულდება და შემდეგ ვამრავლებ 0.01–ზე და ვაბეჭდინებ. და ეგრე უნდა მუშაობდეს წესით ხო?
alp Re: WA on test 6 in C++ // Problem 1316. Electronic Auction 9 Nov 2013 13:38
Try this test
BID 0.01
SALE 0.02 10

Answer:0.00