QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#139096 | #5404. 述树术 | flower# | Compile Error | / | / | C++20 | 2.0kb | 2023-08-12 17:39:48 | 2024-07-04 01:38:54 |
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); | ~~~~~^~~~~~~~~~~~~~~~~~ answer.code: In function ‘int flower::ask(int, int)’: answer.code:17:25: error: return-statement with no value, in function returning ‘int’ [-fpermissive] 17 | return ; | ^~~~~~