QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#139027 | #5404. 述树术 | flower# | Compile Error | / | / | C++20 | 2.0kb | 2023-08-12 16:42:18 | 2024-07-04 01:38:26 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
implementer.cpp: In function ‘int main()’: implementer.cpp:124:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 124 | scanf("%d%d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~ implementer.cpp:127:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 127 | scanf("%d%d", &a, &b); | ~~~~~^~~~~~~~~~~~~~~~ implementer.cpp:145:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 145 | scanf("%d", &test_stat); | ~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/cassert:44, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:106, from answer.code:1: answer.code: In function ‘int flower::ask(int, int)’: answer.code:13:24: error: no match for ‘operator++’ (operand type is ‘std::bitset<1010>’) 13 | assert(++tot< 250000); | ^~~~~