Problem staircase
User wayne
Submission Time 2023-12-02 15:31:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

staircase.cpp: In function ‘int main()’:
staircase.cpp:9:2: error: expected ‘,’ or ‘;’ before ‘for’
9 | for(int i=0;i<n;i++){
| ^~~
staircase.cpp:9:14: error: ‘i’ was not declared in this scope
9 | for(int i=0;i<n;i++){
| ^