Problem | mountains |
---|---|
User | lexuantung71 |
Submission Time | 2025-02-19 12:21:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mountains.cpp: In function ‘int sum(int)’:
mountains.cpp:18:30: error: expected ‘;’ before ‘}’ token
18 | index -= (index & -index)
| ^
| ;
19 | }
| ~
mountains.cpp: In function ‘int main()’:
mountains.cpp:45:34: error: expected ‘;’ before ‘}’ token
45 | prefix[weight[board[0]]-1] += 1
| ^
| ;
46 |
47 | }
| ~