https://codeforces.com/edu/course/2/lesson/6/2/practice/contest/283932/problem/B
I was trying to solve this problem but I am getting wrong answer on test case 9 which I am unable to correct , please help,
here is my code link :
# | User | Rating |
---|---|---|
1 | tourist | 3803 |
2 | Benq | 3783 |
3 | Radewoosh | 3602 |
4 | maroonrk | 3575 |
5 | fantasy | 3526 |
6 | ko_osaga | 3500 |
7 | ksun48 | 3491 |
8 | Um_nik | 3486 |
9 | jiangly | 3474 |
10 | orzdevinwang | 3461 |
# | User | Contrib. |
---|---|---|
1 | awoo | 180 |
2 | -is-this-fft- | 177 |
3 | nor | 169 |
4 | Um_nik | 168 |
5 | SecondThread | 164 |
6 | maroonrk | 163 |
7 | adamant | 161 |
8 | kostka | 160 |
9 | YouKn0wWho | 158 |
10 | errorgorn | 153 |
https://codeforces.com/edu/course/2/lesson/6/2/practice/contest/283932/problem/B
I was trying to solve this problem but I am getting wrong answer on test case 9 which I am unable to correct , please help,
here is my code link :
Name |
---|
cout<<fixed<<ans; I also made this mistake when i first started :)
use cout << setprecision(15) << l;