QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#53785#4887. Fast BridgeslarryzhongCompile Error//C++174.0kb2022-10-05 22:29:202022-10-05 22:29:22

Details

answer.code: In instantiation of ‘main()::<lambda(auto:23)>::<lambda(auto:24, int, int, int)> [with auto:24 = main()::<lambda(auto:23)>::<lambda(auto:24, int, int, int)>]’:
answer.code:140:9:   required from ‘main()::<lambda(auto:23)> [with auto:23 = std::vector<std::tuple<int, int, int, int> >]’
answer.code:146:7:   required from here
answer.code:135:60: error: use of ‘main()::<lambda(auto:23)>::<lambda(auto:24, int, int, int)> [with auto:24 = main()::<lambda(auto:23)>::<lambda(auto:24, int, int, int)>]’ before deduction of ‘auto’
  135 |                                 if (i + 1 < xs.size()) self(self, i + 1, j, x);
      |                                                        ~~~~^~~~~~~~~~~~~~~~~~~
answer.code:136:60: error: use of ‘main()::<lambda(auto:23)>::<lambda(auto:24, int, int, int)> [with auto:24 = main()::<lambda(auto:23)>::<lambda(auto:24, int, int, int)>]’ before deduction of ‘auto’
  136 |                                 if (j + 1 < ys.size()) self(self, i, j + 1, x);
      |                                                        ~~~~^~~~~~~~~~~~~~~~~~~