Problem platonic28
User weccs
Submission Time 2025-12-22 10:51:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic28.cpp: In function ‘bool dfs_is_possible(long long int)’:
platonic28.cpp:8:5: error: ‘visited’ was not declared in this scope
8 | visited[x] = 1;
| ^~~~~~~
platonic28.cpp: In function ‘bool is_possible(long long int)’:
platonic28.cpp:23:13: error: ‘visited’ was not declared in this scope
23 | if (visited[i] == 0) {
| ^~~~~~~