Problem dreaming
User Pan
Submission Time 2024-02-23 18:01:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dreaming.cpp: In function ‘void dfs(ll, std::vector<int>&, std::vector<bool>&)’:
dreaming.cpp:39:19: error: expected ‘;’ before ‘{’ token
39 | if (!joined[from]
| ^
| ;
40 | {
| ~
dreaming.cpp:43:21: error: expected ‘)’ before ‘;’ token
43 | joined[from] = true;
| ^
| )
dreaming.cpp:39:5: note: to match this ‘(’
39 | if (!joined[from]
| ^