QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#472933#4925. Adjacent PairsZhangYiDeCompile Error//C++20868b2024-07-11 20:27:182024-07-11 20:27:19

詳細信息

answer.code: In lambda function:
answer.code:15:51: error: ‘c2’ was not declared in this scope
   15 |         sort(id+1,id+1+n,[&](int x, int y){return c2[x] >c2[y];});
      |                                                   ^~