QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#184551 | #7104. Halting Problem | ucup-team1168# | Compile Error | / | / | C++17 | 3.0kb | 2023-09-20 20:59:57 | 2023-09-20 20:59:57 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:10:39: error: stray ‘#’ in program 10 | for (int i = 0; i < n; i++) {a#include<bits/stdc++.h> | ^ answer.code: In function ‘void run()’: answer.code:10:39: error: expected ‘;’ before ‘include’ 10 | for (int i = 0; i < n; i++) {a#include<bits/stdc++.h> | ^~~~~~~~ | ; answer.code:14:12: error: a function-definition is not allowed here before ‘{’ token 14 | void run() { | ^ answer.code:102:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 102 | int main() { | ^~ answer.code:102:9: note: remove parentheses to default-initialize a variable 102 | int main() { | ^~ | -- answer.code:102:9: note: or replace parentheses with braces to value-initialize a variable answer.code:102:12: error: a function-definition is not allowed here before ‘{’ token 102 | int main() { | ^