Description
Problem Statement:
Convert the given String into it's decimal equivalent. In first line you will have one integer T representing number of testcases. For each of the T cases in first line one string and in next line an integer representing it's base will be there.
INPUT
2
101
2
A
16
OUTPUT
5
10
CS and IT students preparing for placements.
GATE exam
College exam
Interview
More videos coming soon...
#TCSnqt
#stayathome
#BeautyWithCodes
ig:
for #giveaway :
step 1 : Subscribe to my channel
step 2 : go to web:
step 3 : fill your email and tap on " GET "
step 4 : you will get a mail from Beauty with Codes
step 5 : check your mail and click on " CLICK HERE "
0 Comments