Can't understand the question and inputs

Take sb (source number system base), db (destination number system base) and sn (number in source format). Write a function that converts sn to its counterpart in destination number system. Print the value returned.

Input Format
Constraints
0 < N <= 1000000000

Output Format

Sample Input

8

2

33

Sample Output

11011

Explanation

All input output is as integers and in separate lines.

@vmayaan, first u r given base system of the original no in eg33 is written in base 8 system
u need to convert that to base 2 system
33 in base 8 means 27 in base 10
and 27 in base 2 is 11011 thats what is given

to do this question read about how different base system works and how to convert them

check this https://ide.codingblocks.com/s/657527

yes done thanks bro…

1 Like

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.