Hello, any hints on validator #4, please? I pass all tests and other validators but fail this one. Tried playing around with precision and edge cases without success.
Great puzzle overall but would really benefit from having more test cases, it’s not a good sign when multiple people report passing all tests and failing validators.
i fail test 1 and validator 4
for test 1:
21.25;;12750;;20;;60;;11;;1
0:21:15
50.1591;;12750;;45;;60;;8;;3
0:50:9.54545
01:14:02
Trouvé :
01:14:02
Attendu :
01:14:08
i don’t understand the reason for the error on test 1 and on the validator 4 that is without leak
Ug. Frustrating that I pass all test cases, but fail validators 1,2,4 & 5. How is that possible? Does it have anything to do with using vb.net? I’m old. And I don’t want to learn python.
I started having Diff E flashbacks when I first saw the description, until I realized we were provided flow rate of the holes rather than diameter. This makes the problem much simpler due to the assumptions it implies
If someone else has a somewhat complex solution of simulating water filling in time step, like me, and is having issues with the validators, try increasing the precision by reducing the time step.
I overcomplicated things a bit.