QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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); | ^~~