Problem staircase
User chickengoat
Submission Time 2026-01-20 11:32:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

staircase.cpp:1:24: error: missing terminating > character
1 | #include <bits/stdc++.h
| ^
staircase.cpp: In function ‘int main()’:
staircase.cpp:6:2: error: ‘heights’ was not declared in this scope
6 | heights[n];
| ^~~~~~~