QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#877933 | #8266. Astronomer | gg_gong | Compile Error | / | / | C++20 | 3.4kb | 2025-02-01 12:27:31 | 2025-02-01 12:27:32 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
In file included from /usr/include/c++/14/algorithm:61, from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51, from answer.code:6: /usr/include/c++/14/bits/stl_algo.h: In instantiation of ‘void std::shuffle(_RAIter, _RAIter, _UGenerator&&) [with _RAIter = array<double, 2>*; _UGenerator = mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253> (&)()]’: answer.code:135:9: required from here 135 | shuffle(a+1,a+(int)n+1,rnd); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:3717:9: error: ‘std::remove_reference<std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253> (&)()>::type’ {aka ‘std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>()’} is not a class, struct, or union type 3717 | __uc_type; | ^~~~~~~~~ /usr/include/c++/14/bits/stl_algo.h:3719:41: error: request for member ‘max’ in ‘__g’, which is of non-class type ‘std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>()’ 3719 | const __uc_type __urngrange = __g.max() - __g.min(); | ~~~~^~~ /usr/include/c++/14/bits/stl_algo.h:3719:53: error: request for member ‘min’ in ‘__g’, which is of non-class type ‘std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>()’ 3719 | const __uc_type __urngrange = __g.max() - __g.min(); | ~~~~^~~ /usr/include/c++/14/bits/stl_algo.h:3745:44: error: ‘std::remove_reference<std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253> (&)()>::type’ {aka ‘std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>()’} is not a class, struct, or union type 3745 | const pair<__uc_type, __uc_type> __pospos = | ^~~~~~~~