Hidden Numbers
Salmon has some hidden numbers that he wants you to find! Given an integer $N$, find and output **any** two integers A and B such that: * $1 \le A, B \le 10^9$, and * $A*B = N$. ###Input: The first line of input consists of a single integer $T$ ($1 \le T \le 10^5$) -- the number of testcases. The next $T$ lines will consist of one integer, $N$ ($1 \le N \le 10^9$). ###Output: For each of the $
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.
Sign in to chat with the tutor and save your progress.
Sign in to start