Problem | staircase |
---|---|
User | Henries |
Submission Time | 2024-10-14 09:02:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
staircase.cpp: In function ‘int main()’:
staircase.cpp:43:66: error: expected ‘;’ before ‘{’ token
43 | else if (diff>1 || (v[i].second< previndex && v[i].first >prev){
| ^
| ;
staircase.cpp:46:17: error: expected ‘)’ before ‘;’ token
46 | prev = current;
| ^
| )
staircase.cpp:43:11: note: to match this ‘(’
43 | else if (diff>1 || (v[i].second< previndex && v[i].first >prev){
| ^