please kindly check this code also. i am not able to pass every testcase on hackers block.
Binary to decimal problem
Hi Ayushi,
It seems you have shared the code for a different problem .
Please share it again.
Hi Ayushi ,
Your code is perfect. Just take the input of num in the main( ) rather than running it for a custom value and your code passes all testcases.
i m sorry but can you explain that again
Please take a look at this code. I have only modified 1 or 2 lines in the main( ).
Code - https://ide.codingblocks.com/s/99059
okh thank you so much.