I programmed a solution for PIR in java and it worked very well. So i tried it in python and im getting a WA! So look at my testcases, everthing working fine:
2
1 1 1 1 1 1
1000 1000 1000 3 4 5
0.1179
1999.9937
i get the same from my java code... so whats wrong? i really got no idea... are they limitations for python with this problem?
created
last reply
- 3
replies
- 134
views
- 2
users