Problem tomandjerry
User Sans12345
Submission Time 2024-01-02 18:13:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tomandjerry.cpp: In function ‘void dfs2(ll)’:
tomandjerry.cpp:23:30: error: expected ‘)’ before ‘]’ token
23 | for(ll child:adj[x]) if(p[x]][0] != child){
| ~ ^
| )
tomandjerry.cpp:23:30: error: expected primary-expression before ‘]’ token