This code is same as taught in video and even though all test case are failing

this code is same as taught in video and even though all test case are failing. please help

Rahul, pls send your code by saving on ide so that I could check your error…

hello i am working on collaberate mode

https://ide.codingblocks.com/s/163330 for you ease… please see to it . i have checked on all the small examples given by sir in video. i guess it may be due to some data type problem… please check sir

Ok, I’ll see to it and let u know the errors in the code…

https://ide.codingblocks.com/s/163330 : updated code…its passing now 4 cases but again wa at one test case… i am stuck from 6 hr continuosly…please check asap

Rahul, pls refer to the chat, I have explained…

i have replied there…see