QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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){ | ~~~~~~^