WA in test case 0 and 1. Can't find the problem

Here’s the link to my code:

@avikaldarolia7
hello avikal,
check this part of ur code
image
formula is not correct

1 Like