Print Pattern
CodeChefOpen on judge ↗
Everyone knows the $pyramid$ . But ram wants to display the pattern like a pyramid with a number which will repeat the number in the $same$ $row$ . i.e. If $N$ is number of rows , then print N number rows of pyramid . ### Input - First line will contain $T$, number of testcases. Then the testcases follow. - Each testcase contains of a single line of input, a single integer $N$ , where N is number
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