QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#459002#8838. Jesse's Jobucup-team025#Compile Error//C++20769b2024-06-29 21:14:182024-06-29 21:14:19

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