QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#711462 | #9536. Athlete Welcome Ceremony | ucup-team1585 | Compile Error | / | / | C++14 | 4.1kb | 2024-11-05 11:13:58 | 2024-11-05 11:13:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void solve()’: answer.code:100:12: error: missing template arguments before ‘dp’ 100 | vector dp(3,vector(m + 2,vector<Z>(m + 2))); | ^~ answer.code:103:9: error: ‘dp’ was not declared in this scope 103 | dp[0][1][0] = dp[1][0][1] = dp[2][0][0] = 1; | ^~ answer.code:105:9: error: ‘dp’ was not declared in this scope 105 | dp[s[1] - 'a'][0][0] = 1; | ^~ answer.code:108:16: error: missing template arguments before ‘ndp’ 108 | vector ndp(3,vector(m + 2,vector<Z>(m + 2))); | ^~~ answer.code:113:35: error: ‘ndp’ was not declared in this scope 113 | if(x - 1 >= 0)ndp[0][x][y] += dp[1][x - 1][y] + dp[2][x - 1][y]; | ^~~ answer.code:113:51: error: ‘dp’ was not declared in this scope 113 | if(x - 1 >= 0)ndp[0][x][y] += dp[1][x - 1][y] + dp[2][x - 1][y]; | ^~ answer.code:114:35: error: ‘ndp’ was not declared in this scope 114 | if(y - 1 >= 0)ndp[1][x][y] += dp[0][x][y - 1] + dp[2][x][y - 1]; | ^~~ answer.code:114:51: error: ‘dp’ was not declared in this scope 114 | if(y - 1 >= 0)ndp[1][x][y] += dp[0][x][y - 1] + dp[2][x][y - 1]; | ^~ answer.code:115:21: error: ‘ndp’ was not declared in this scope 115 | ndp[2][x][y] += dp[0][x][y] + dp[1][x][y]; | ^~~ answer.code:115:37: error: ‘dp’ was not declared in this scope 115 | ndp[2][x][y] += dp[0][x][y] + dp[1][x][y]; | ^~ answer.code:123:25: error: ‘ndp’ was not declared in this scope 123 | ndp[s[i] - 'a'][x][y] += dp[j][x][y]; | ^~~ answer.code:123:50: error: ‘dp’ was not declared in this scope 123 | ndp[s[i] - 'a'][x][y] += dp[j][x][y]; | ^~ answer.code:128:14: error: ‘ndp’ was not declared in this scope 128 | swap(ndp,dp); | ^~~ answer.code:128:18: error: ‘dp’ was not declared in this scope 128 | swap(ndp,dp); | ^~ answer.code:134:17: error: ‘dp’ was not declared in this scope 134 | dp[j][x][y] += dp[j][x + 1][y - 1]; | ^~ answer.code:147:24: error: ‘dp’ was not declared in this scope; did you mean ‘d’? 147 | res += dp[j][d - min(d,b)][min(d,b)]; | ^~ | d