Binary to decimal problem hackers block

i am not able to pass testcases on hackers block. please kindly check my code

https://ide.codingblocks.com/s/97964 this is the url of the code

Hi @Ayushi21, what do you want to do in your code? It is working fine for the string you have written. :upside_down_face::upside_down_face: