QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#316642 | #8174. Set Construction | ucup-team130# | Compile Error | / | / | C++17 | 5.0kb | 2024-01-27 23:59:34 | 2024-01-27 23:59:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:170:90: error: no matching function for call to ‘tans::tans(int&, long long int, int, int, int, const int&)’ 170 | add(tans(n, (1LL << k) + (1LL << l), -1, -1, -1, POWERADD)); | ^ answer.code:34:8: note: candidate: ‘tans::tans()’ 34 | struct tans | ^~~~ answer.code:34:8: note: candidate expects 0 arguments, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(const tans&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(tans&&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code:177:91: error: no matching function for call to ‘tans::tans(int&, int&, int, int, int, const int&)’ 177 | for (int i = 2; i <= (a + 1) * (b + 1); i++) add(tans(n, i, -1, -1, -1, SQ)); | ^ answer.code:34:8: note: candidate: ‘tans::tans()’ 34 | struct tans | ^~~~ answer.code:34:8: note: candidate expects 0 arguments, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(const tans&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(tans&&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code:180:45: error: no matching function for call to ‘tans::tans(int, int, int, int, int, const int&)’ 180 | add(tans(5, 14, -1, -1, -1, POWERADD)); | ^ answer.code:34:8: note: candidate: ‘tans::tans()’ 34 | struct tans | ^~~~ answer.code:34:8: note: candidate expects 0 arguments, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(const tans&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(tans&&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code:181:45: error: no matching function for call to ‘tans::tans(int, int, int, int, int, const int&)’ 181 | add(tans(5, 15, -1, -1, -1, POWERADD)); | ^ answer.code:34:8: note: candidate: ‘tans::tans()’ 34 | struct tans | ^~~~ answer.code:34:8: note: candidate expects 0 arguments, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(const tans&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(tans&&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code:183:45: error: no matching function for call to ‘tans::tans(int, int, int, int, int, const int&)’ 183 | add(tans(6, 27, -1, -1, -1, POWERADD)); | ^ answer.code:34:8: note: candidate: ‘tans::tans()’ 34 | struct tans | ^~~~ answer.code:34:8: note: candidate expects 0 arguments, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(const tans&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code:34:8: note: candidate: ‘constexpr tans::tans(tans&&)’ answer.code:34:8: note: candidate expects 1 argument, 6 provided answer.code: In function ‘void solve()’: answer.code:132:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 132 | scanf("%d%d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:213:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 213 | scanf("%d", &NT); | ~~~~~^~~~~~~~~~~