3 test cases not passed

@neelrai906
3
3 4 5
2 3 1
ans 11
your ans 41
check it

why it is coming though?

@neelrai906 dry run it most prob wrong logic