Van loves binary(Do we have to make this type pattern of binary?)

4
101
1100
11001
101010

@abhinavssr2003_eab0717682969e5c no convert the binary number to decimal
101 is 5
1100 is 12 and so on

here given :
Sample Input

4
101 is 5
1111 is 15
00110 is 6
111111 is 63

okay thank you so much

1 Like

@abhinavssr2003_eab0717682969e5c if doubt is clear u can mark it resolved please

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.