QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#314940 | #4184. Amusement Arcade | ZhangYiDe | Compile Error | / | / | C++20 | 680b | 2024-01-26 15:12:32 | 2024-01-26 15:12:32 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:4:1: error: ‘::main’ must return ‘int’ 4 | void main() | ^~~~ answer.code: In function ‘int main()’: answer.code:12:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive] 12 | return; | ^~~~~~ answer.code:28:17: error: return-statement with no value, in function returning ‘int’ [-fpermissive] 28 | return; | ^~~~~~