Problem sightseeing
User Craftless
Submission Time 2023-03-16 22:53:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sightseeing.cpp: In function ‘int32_t main()’:
sightseeing.cpp:53:2: error: ‘alrSame’ was not declared in this scope
53 | alrSame[1] = 1;
| ^~~~~~~
sightseeing.cpp:57:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
57 | ans[i] = -INF;
| ^~~
| abs
sightseeing.cpp:58:3: error: ‘connected’ was not declared in this scope
58 | connected[i].pb(i);
| ^~~~~~~~~