QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#627362 | #9449. New School Term | GuanYunchang | Compile Error | / | / | C++17 | 3.7kb | 2024-10-10 15:39:34 | 2024-10-10 15:39:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:89:19: error: stray ‘#’ in program 89 | n=read(),m#include<iostream> | ^ answer.code: In function ‘int main()’: answer.code:89:19: error: expected ‘;’ before ‘include’ 89 | n=read(),m#include<iostream> | ^~~~~~~~ | ; answer.code:96:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 96 | int read() | ^~ answer.code:96:9: note: remove parentheses to default-initialize a variable 96 | int read() | ^~ | -- answer.code:96:9: note: or replace parentheses with braces to value-initialize a variable answer.code:97:1: error: a function-definition is not allowed here before ‘{’ token 97 | { | ^ answer.code:105:1: error: a function-definition is not allowed here before ‘{’ token 105 | { | ^ answer.code:110:1: error: a function-definition is not allowed here before ‘{’ token 110 | { | ^ answer.code:122:1: error: a function-definition is not allowed here before ‘{’ token 122 | { | ^ answer.code:127:1: error: a function-definition is not allowed here before ‘{’ token 127 | { | ^ answer.code:132:1: error: a function-definition is not allowed here before ‘{’ token 132 | { | ^ answer.code:137:1: error: a function-definition is not allowed here before ‘{’ token 137 | { | ^ answer.code:154:1: error: a function-definition is not allowed here before ‘{’ token 154 | { | ^ answer.code:164:1: error: a function-definition is not allowed here before ‘{’ token 164 | { | ^ answer.code:175:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 175 | int main() | ^~ answer.code:175:9: note: remove parentheses to default-initialize a variable 175 | int main() | ^~ | -- answer.code:175:9: note: or replace parentheses with braces to value-initialize a variable answer.code:176:1: error: a function-definition is not allowed here before ‘{’ token 176 | { | ^ answer.code:189:1: error: expected primary-expression before ‘=’ token 189 | =read(),dp[0]=1; | ^