Problem staircase
User Henries
Submission Time 2024-10-14 10:15:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

staircase.cpp: In function ‘int main()’:
staircase.cpp:39:47: error: lvalue required as left operand of assignment
39 | if (diff == 1 && v[i].second = previndex + 1){
| ^