QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#74082 | #4811. Be Careful | dcmfqw | Compile Error | / | / | C++14 | 5.2kb | 2023-01-30 16:21:47 | 2023-01-30 16:21:48 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:205:1: error: ‘sort’ was not declared in this scope; did you mean ‘std::sort’? 205 | sort(indu+1,indu+n+1); | ^~~~ | std::sort In file included from /usr/include/c++/11/algorithm:62, from answer.code:2: /usr/include/c++/11/bits/stl_algo.h:4863:5: note: ‘std::sort’ declared here 4863 | sort(_RandomAccessIterator __first, _RandomAccessIterator __last, | ^~~~