← All problemsSign in

Cover All Bases

### Problem Statement: Given $n\;\epsilon\;\mathbb{N}$ as input in the decimal system, your task is to find the equivalent representation of that number in a different base $R$, where $R\;\epsilon\;\mathbb{N}$ such that $2 \leq R \leq 36$ and $R \neq 10$. The set of valid digits will be $\{0,1,2,..., 9 \} \cup \{A, B,C ..., Z \}$ ### Input: - First line will contain $T$, number of test cases. T

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start