QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#31962#4037. Absolute Pairwise DistanceflowerCompile Error//C++144.3kb2022-05-14 11:52:502022-05-18 04:29:23

Details

answer.code: In function ‘int main()’:
answer.code:123:22: error: ‘std::ranges’ has not been declared
  123 |                 std::ranges::sort(buc);
      |                      ^~~~~~
answer.code:124:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
  124 |                 auto [$1, $2] = std::ranges::unique(buc);
      |                      ^
answer.code:124:38: error: ‘std::ranges’ has not been declared
  124 |                 auto [$1, $2] = std::ranges::unique(buc);
      |                                      ^~~~~~
answer.code:152:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
  152 |                 auto [l, r, id, coef] = queries[i];
      |                      ^
answer.code:183:27: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
  183 |                 for (auto [l, r, id, coef] : events[i]) {
      |                           ^
answer.code:191:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
  191 |                 auto [l, r, id, coef] = queries[i];
      |                      ^