Simple Enough - Not a single case passed, showing WA

Didn’t get whats wrong in the code. Can someone please help in figuring out the faults in the code.
Code at - https://ide.codingblocks.com/s/198802