QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#199436 | #2910. Rise and Fall | MaMengQi | Compile Error | / | / | C++20 | 1.0kb | 2023-10-04 12:13:59 | 2023-10-04 12:13:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:31:18: error: stray ‘#’ in program 31 | }#include <cstdio> | ^ answer.code: In function ‘void solve()’: answer.code:31:28: error: ‘cstdio’ was not declared in this scope; did you mean ‘stdin’? 31 | }#include <cstdio> | ^~~~~~ | stdin answer.code:31:19: error: ‘include’ was not declared in this scope 31 | }#include <cstdio> | ^~~~~~~ answer.code:34:1: error: expected primary-expression before ‘using’ 34 | using namespace std; | ^~~~~ answer.code:35:13: error: a function-definition is not allowed here before ‘{’ token 35 | void solve(){ | ^ answer.code:68:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 68 | int main() { | ^~ answer.code:68:9: note: remove parentheses to default-initialize a variable 68 | int main() { | ^~ | -- answer.code:68:9: note: or replace parentheses with braces to value-initialize a variable answer.code:68:12: error: a function-definition is not allowed here before ‘{’ token 68 | int main() { | ^ answer.code:74:17: error: ‘else’ without a previous ‘if’ 74 | else{ | ^~~~