Chef and chess
CodeChefOpen on judge ↗
Chef is a champion in chess game. One day he decided to calculate the number of squares in the chess board of size $NXN$. Chef is quite busy now-a-days. So he ask you to calculate it. ###Input: - The first line of test case contains a single integer $T$ denoting the number of test cases.The description of $T$ test cases follows. - The first and only line of each test case contains one integer $N
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