← All problemsSign in

Square It

You are given a number N. You have to print the square of that number on a new line Input Input description. First line will contain a single integer T denoting the number of integers. Next T lines will contain a single integer N. Output Output a single integer for each N, the square of the number on a new line. Constraints - 1 ≤ T ≤ 100000 - 1 ≤ N ≤ 100000 Example Input: 3 5 7 2

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