Problem platonic18
User yc
Submission Time 2025-12-17 14:55:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic18.cpp: In function ‘void dfs(int, int)’:
platonic18.cpp:15:25: error: a function-definition is not allowed here before ‘{’ token
15 | void dfs1( int x, int p){
| ^
platonic18.cpp:22:24: error: a function-definition is not allowed here before ‘{’ token
22 | void dfs2(int x, int p){
| ^
platonic18.cpp:31:23: error: a function-definition is not allowed here before ‘{’ token
31 | int dfs3(int x, int p){
| ^
platonic18.cpp:42:14: error: a function-definition is not allowed here before ‘{’ token
42 | signed main(){
| ^
platonic18.cpp:80:5: error: expected ‘}’ at end of input
80 | }
| ^
platonic18.cpp:9:24: note: to match this ‘{’
9 | void dfs( int x, int p){
| ^