QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#458783 | #8529. Balance of Permutation | ucup-team1005 | Compile Error | / | / | C++11 | 2.2kb | 2024-06-29 19:19:02 | 2024-06-29 19:19:05 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:13:11: error: use of ‘auto’ in parameter declaration only available with ‘-std=c++14’ or ‘-std=gnu++14’ 13 | void getz(auto &x){ | ^~~~ answer.code: In function ‘int main()’: answer.code:59:28: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘IT’ {aka ‘__int128’} 59 | getz(n); getz(B); getz(K); | ^ answer.code:13:17: note: initializing argument 1 of ‘void getz(int&)’ 13 | void getz(auto &x){ | ~~~~~~^