QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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 ; | ^~~~~~