Problem galaxycollapse
User PlayVoltz
Submission Time 2023-12-17 02:08:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

galaxycollapse.cpp: In function ‘long long int galaxy(long long int)’:
galaxycollapse.cpp:24:9: error: ‘visited’ was not declared in this scope
24 | if (!visited[num.first]&&min(dj[cnode], vect[num.first]-t[cnode]-num.second)>dj[num.first]){
| ^~~~~~~