QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#444696#8527. Power Divisionsucup-team216#Compile Error//C++233.9kb2024-06-15 20:51:342024-06-15 20:51:35

詳細信息

answer.code: In function ‘std::pair<long long int, long long int> getHash(int)’:
answer.code:45:16: error: ‘class std::unordered_set<int>’ has no member named ‘rbegin’; did you mean ‘begin’?
   45 |   int shi = *S.rbegin();
      |                ^~~~~~
      |                begin
answer.code: In function ‘void solve()’:
answer.code:94:39: error: ‘class std::unordered_set<int>’ has no member named ‘rbegin’; did you mean ‘begin’?
   94 |       int lo = (*S.begin()), hi = (*S.rbegin());
      |                                       ^~~~~~
      |                                       begin
answer.code:98:24: error: ‘class std::unordered_set<int>’ has no member named ‘rbegin’; did you mean ‘begin’?
   98 |     int last_miss = *S.rbegin();
      |                        ^~~~~~
      |                        begin
answer.code:144:36: error: ‘class std::unordered_set<int>’ has no member named ‘rbegin’; did you mean ‘begin’?
  144 |       int lo = *S.begin(), hi = *S.rbegin();
      |                                    ^~~~~~
      |                                    begin