QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#612334 | #8050. Random Permutation | MaMengQi | Compile Error | / | / | C++98 | 1.2kb | 2024-10-05 10:33:38 | 2024-10-05 10:33:43 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
In file included from /usr/include/c++/13/string:51, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/ostream:40, from /usr/include/c++/13/iostream:41, from answer.code:1: /usr/include/c++/13/bits/stl_algobase.h: In instantiation of ‘const _Tp& std::min(const _Tp&, const _Tp&, _Compare) [with _Tp = double; _Compare = long long int]’: answer.code:31:14: required from here /usr/include/c++/13/bits/stl_algobase.h:284:17: error: ‘__comp’ cannot be used as a function 284 | if (__comp(__b, __a)) | ~~~~~~^~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:22:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 22 | scanf("%d",&n); | ~~~~~^~~~~~~~~ answer.code:24:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 24 | scanf("%d",&a[i]); | ~~~~~^~~~~~~~~~~~