QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#334952 | #7936. Eliminate Tree | ZhaoZiLong | Compile Error | / | / | C++17 | 1.1kb | 2024-02-22 15:29:18 | 2024-02-22 15:29:19 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void dfs(long long int, long long int)’: answer.code:32:42: error: ‘sum’ was not declared in this scope 32 | dp[u][0] = min(dp[u][0], sum - min(dp[v][0], dp[v][1]) + dp[v][1] + 1); | ^~~