0_0_39321884_5685.cpp: In function 'int main()':
0_0_39321884_5685.cpp:133:26: error: 'head' was not declared in this scope
133 | ListNode* curr = head;
| ^~~~
0_0_39321884_5685.cpp:149:14: error: expected '}' at end of input
149 | return 0;
| ^
0_0_39321884_5685.cpp:124:11: note: to match this '{'
124 | int main(){
| ^
|