QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#571639#6385. SwordskheiramihoubCompile Error//C++14794b2024-09-18 01:58:592024-09-18 01:58:59

詳細信息

answer.code: In function ‘int main()’:
answer.code:14:17: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘rebegin’; did you mean ‘rbegin’?
   14 |     sort(syoufa.rebegin() , syoufa.rend() , [](pair<int,int> a , pair<int,int> b ) ) {
      |                 ^~~~~~~
      |                 rbegin
answer.code: In lambda function:
answer.code:14:84: error: expected ‘{’ before ‘)’ token
   14 |     sort(syoufa.rebegin() , syoufa.rend() , [](pair<int,int> a , pair<int,int> b ) ) {
      |                                                                                    ^