Problem platonic29
User yc
Submission Time 2026-10-28 14:31:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic29.cpp: In function ‘long long int dfs(long long int)’:
platonic29.cpp:7:9: error: ‘v’ was not declared in this scope
7 | if (v[x]==2) return 0;
| ^
platonic29.cpp:8:9: error: ‘v’ was not declared in this scope
8 | if (v[x]==1) return 1;
| ^
platonic29.cpp:9:5: error: ‘v’ was not declared in this scope
9 | v[x] = 1;
| ^
platonic29.cpp:15:5: error: ‘n3’ was not declared in this scope; did you mean ‘n2’?
15 | n3.push_back(x);
| ^~
| n2
platonic29.cpp: In function ‘int main()’:
platonic29.cpp:38:13: error: ‘n5’ was not declared in this scope; did you mean ‘n’?
38 | if (n5[i]==0){
| ^~
| n
platonic29.cpp:45:18: error: ‘n3’ was not declared in this scope; did you mean ‘n’?
45 | if (c1==1 or n3.size()!=n) cout<<"IMPOSSIBLE";
| ^~
|