Problem reachability2
User ZivTheONe
Submission Time 2025-03-26 00:27:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reachability2.cpp: In member function ‘ll Solution::getSz(ll, ll)’:
reachability2.cpp:66:3: error: ‘temp’ was not declared in this scope
66 | temp = sz[ X ]; sz[ X ] = min( sz[ X ], L[ X ] ) + 3;
| ^~~~