QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#869133#9965. Game MPOZhangYiDeCompile Error//C++20576b2025-01-24 23:22:092025-01-24 23:22:09

Details

answer.code: In instantiation of ‘main()::<lambda(auto:47&&, long long int, long double)> [with auto:47 = main()::<lambda(auto:47&&, long long int, long double)>&]’:
answer.code:28:12:   required from here
   28 |         cout << ev(ev, 0, 1.0) << endl;
      |                 ~~^~~~~~~~~~~~
answer.code:23:37: error: ‘p’ cannot be used as a function
   23 |                 ans += ((idx+1) * p (self, idx+1, p));
      |                                   ~~^~~~~~~~~~~~~~~~