QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#147879 | #3531. Prime or number | HuangHanSheng | Compile Error | / | / | C++11 | 251b | 2023-08-23 14:37:58 | 2023-08-23 14:37:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:12:17: error: return-statement with no value, in function returning ‘int’ [-fpermissive] 12 | return ; | ^~~~~~ answer.code:9:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | scanf("%lld",&n); | ~~~~~^~~~~~~~~~~