QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#459002 | #8838. Jesse's Job | ucup-team025# | Compile Error | / | / | C++20 | 769b | 2024-06-29 21:14:18 | 2024-06-29 21:14:19 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In lambda function: answer.code:5:24: error: ‘in’ was not declared in this scope; did you mean ‘yn’? 5 | const auto N = in.val<int>(); | ^~ | yn answer.code:5:31: error: expected primary-expression before ‘int’ 5 | const auto N = in.val<int>(); | ^~~ answer.code:6:32: error: expected primary-expression before ‘int’ 6 | const auto Ps = in.vec<int>(N, 1); | ^~~ answer.code:7:9: error: ‘UnionFindTree’ was not declared in this scope 7 | UnionFindTree uf(N); | ^~~~~~~~~~~~~ answer.code:8:22: error: ‘rep’ was not declared in this scope 8 | for (int i : rep(N)) { | ^~~ answer.code:9:13: error: ‘uf’ was not declared in this scope 9 | uf.unite(i, Ps[i]); | ^~ answer.code:11:13: error: ‘uf’ was not declared in this scope 11 | if (uf.size(0) != N) { | ^~ answer.code:12:13: error: ‘out’ was not declared in this scope 12 | out.ln(N); | ^~~ answer.code:14:13: error: ‘mdSeqPlus’ was not declared in this scope 14 | mdSeqPlus(Ans, 1); | ^~~~~~~~~ answer.code:18:13: error: ‘out’ was not declared in this scope 18 | out.ln(N - 2); | ^~~ answer.code:19:13: error: ‘Vec’ was not declared in this scope 19 | Vec<int> Ans; | ^~~ answer.code:19:17: error: expected primary-expression before ‘int’ 19 | Vec<int> Ans; | ^~~ answer.code:21:17: error: ‘Ans’ was not declared in this scope 21 | Ans.push_back(i + 1); | ^~~ answer.code:23:20: error: ‘Ans’ was not declared in this scope 23 | out.ln(Ans.size()); | ^~~ answer.code: In function ‘int main()’: answer.code:27:20: error: ‘in’ was not declared in this scope; did you mean ‘yn’? 27 | const auto T = in.val<int>(); | ^~ | yn answer.code:27:27: error: expected primary-expression before ‘int’ 27 | const auto T = in.val<int>(); | ^~~ answer.code:28:5: error: ‘LOOP’ was not declared in this scope; did you mean ‘ELOOP’? 28 | LOOP (T) { | ^~~~ | ELOOP