QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#693590 | #9447. Admired Person | ucup-team2401# | Compile Error | / | / | C++14 | 817b | 2024-10-31 16:26:15 | 2024-10-31 16:26:19 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:25:12: error: missing template arguments before ‘dp’ 25 | vector dp(n + 1, vector<int>(m + 1, INF)); | ^~ answer.code:27:9: error: ‘dp’ was not declared in this scope 27 | dp[i][0] = 0; | ^~ answer.code:31:13: error: ‘dp’ was not declared in this scope 31 | dp[i][j] = min(dp[i - 1][j], dp[i - 1][j - 1] + abs(a[i] - b[j])); | ^~ answer.code:34:13: error: ‘dp’ was not declared in this scope 34 | cout << dp[n][m] << '\n'; | ^~