QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#364012 | #6747. Permutation | ZhaoZiLong | Compile Error | / | / | C++17 | 108b | 2024-03-24 09:53:19 | 2024-03-24 09:53:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:4:1: error: expected initializer before ‘int’ 4 | int n; | ^~~ answer.code:5:1: error: ‘cin’ does not name a type 5 | cin>>n; | ^~~ answer.code:6:1: error: expected unqualified-id before ‘for’ 6 | for(int i=1;i<=n;i++) | ^~~ answer.code:6:13: error: ‘i’ does not name a type 6 | for(int i=1;i<=n;i++) | ^ answer.code:6:18: error: ‘i’ does not name a type 6 | for(int i=1;i<=n;i++) | ^ answer.code:8:1: error: expected declaration before ‘}’ token 8 | } | ^