Problem typicalstairs
User eliasxyz
Submission Time 2025-06-14 00:12:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typicalstairs.cpp: In function ‘int main()’:
typicalstairs.cpp:7:14: error: expected ‘,’ or ‘;’ before ‘*’ token
7 | int A[N]={0}*N;
| ^
typicalstairs.cpp:8:6: error: ‘i’ was not declared in this scope
8 | for(i=0;i<M;i++){
| ^