QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#654756#7944. Max Minus MinMaMengQiCompile Error//C++231.2kb2024-10-18 22:02:272024-10-18 22:02:27

詳細信息

answer.code: In function ‘void tcase()’:
answer.code:57:20: error: no match for call to ‘(tcase()::<lambda(ll)>) ()’
   57 |         cout << ok1() << '\n';
      |                 ~~~^~
answer.code:32:20: note: candidate: ‘tcase()::<lambda(ll)>’
   32 |         auto ok1 = [&](ll x)->ll{
      |                    ^
answer.code:32:20: note:   candidate expects 1 argument, 0 provided