Problem typicalstairs
User AltheaZ
Submission Time 2023-11-08 13:27:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typicalstairs.cpp: In function ‘int main()’:
typicalstairs.cpp:20:38: error: expected ‘;’ before ‘)’ token
20 | if (a[i]==-1) count[i]=count[i-1]+1);
| ^
| ;