is this a bug in Leetcode?

So, I was solving this question 799. Champagne Tower.
Here, when I run code it shows the correct output but on submiting it showing WRONG ANSWER. why so??

image

Comments (3)