Problem treecutting
User dieunq1309
Submission Time 2023-11-01 09:51:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘void solve(int, int, int, int)’:
treecutting.cpp:28:78: error: expected primary-expression before ‘)’ token
28 | if (child.size() >= 3) ans = max(ans, max(child[0].first+child[1].first, );
| ^
treecutting.cpp: In function ‘int main()’:
treecutting.cpp:43:17: error: expected primary-expression before ‘)’ token
43 | solve(0, 0, )
| ^