Professor Problem
CodeChefOpen on judge ↗
Your Aptitude professor Abhishek Bhatnagar sir in his aptitude class taught a magical trick to count the total number of square in a $N$*$N$ chess board. Now You being the top IIST coder try to implement the same logic into a code. You are given with a side of chess board as $N$, You have to print the total number of square that can be formed $N*N$ chess board. ### Input - One and only line of i
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