QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#597454 | #9417. Palindromic Polygon | ucup-team5045# | Compile Error | / | / | C++14 | 2.9kb | 2024-09-28 17:51:31 | 2024-09-28 17:51:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void solve()’: answer.code:58:12: error: missing template arguments before ‘f’ 58 | vector f(n * 2 + 1, vector<int> (n * 2 + 1)); | ^ answer.code:59:12: error: missing template arguments before ‘ok’ 59 | vector ok(n * 2 + 2, vector<int> (n * 2 + 2)); | ^~ answer.code:61:9: error: ‘ok’ was not declared in this scope 61 | ok[i][i] = 1; | ^~ answer.code:67:13: error: ‘f’ was not declared in this scope 67 | f[i][j] = max(f[i + 1][j], f[i][j - 1]); | ^ answer.code:69:20: error: missing template arguments before ‘mp’ 69 | vector mp(502); | ^~ answer.code:71:21: error: ‘ok’ was not declared in this scope; did you mean ‘k’? 71 | if(ok[i][j]) | ^~ | k answer.code:72:17: error: ‘mp’ was not declared in this scope; did you mean ‘p’? 72 | mp[li[k]] = k; | ^~ | p answer.code:77:38: error: ‘mp’ was not declared in this scope; did you mean ‘tmp’? 77 | int ll = k, rr = mp[li[k]]; | ^~ | tmp answer.code:78:25: error: ‘ok’ was not declared in this scope; did you mean ‘k’? 78 | if(!ok[ll][rr])continue; | ^~ | k answer.code:85:38: error: ‘ok’ was not declared in this scope; did you mean ‘k’? 85 | if(tmp > f[i][j])ok[i][j] = true; | ^~ | k answer.code:96:24: error: ‘f’ was not declared in this scope 96 | res = max(res, f[i][i + n - 1]); | ^