Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

### water's blog

By water, 7 years ago, ,

I saw many people got wrong on test10 in problem A #174 DIV1 . It says "wrong answer 103366th numbers differ — expected: '-1310.8301270', found: '-1310.8321289', error = '0.0000015",what's wrong? 3352253

• 0

 » 7 years ago, # |   +3 If you know, it's common problem, why didn't you try to read other discussions?3352323 It's running on 40 know with minor fix.
•  » » 7 years ago, # ^ |   0 Thanks,you always help me~
 » 7 years ago, # | ← Rev. 2 →   +3 Just make val[last]=0 and add[last]=0 in the case when choose =3; your code linkEDIT : I am a bit too slow!!!
•  » » 7 years ago, # ^ |   0 Thank you~
 » 7 years ago, # |   0 When choose == 2, add a line 'add[last] = 0;' and it will pass.