QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#794716#9787. Shrek's Song of the Swampucup-team3194#Compile Error//C++141.3kb2024-11-30 15:37:562024-11-30 15:37:56

详细

answer.code: In function ‘void solve()’:
answer.code:25:5: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
   25 |     sort(all(values));
      |     ^~~~
      |     short
answer.code:26:18: error: ‘unique’ was not declared in this scope
   26 |     values.erase(unique(all(values)), values.end());
      |                  ^~~~~~