QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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 | } | ^