QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#447261 | #4832. Telepathy | egypt_ioi2024_12 | Compile Error | / | / | C++14 | 838b | 2024-06-18 08:06:24 | 2024-06-18 08:06:24 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:22:12: error: expected ‘}’ before numeric constant 22 | opt={0 2 1 2 0 0 1 0 }; | ~ ^ answer.code:22:11: error: expected ‘;’ before numeric constant 22 | opt={0 2 1 2 0 0 1 0 }; | ^~ | ; answer.code: At global scope: answer.code:23:14: error: ‘cin’ does not name a type 23 | string s;cin>>s; | ^~~ answer.code:24:13: error: ‘cin’ does not name a type 24 | int n,k;cin>>n>>k; | ^~~ answer.code:25:14: error: ‘cin’ does not name a type 25 | string t;cin>>t; | ^~~ answer.code:26:5: error: expected unqualified-id before ‘for’ 26 | for(int i=0;i<n;i+=3){ | ^~~ answer.code:26:17: error: ‘i’ does not name a type 26 | for(int i=0;i<n;i+=3){ | ^ answer.code:26:21: error: ‘i’ does not name a type 26 | for(int i=0;i<n;i+=3){ | ^ answer.code:34:1: error: expected declaration before ‘}’ token 34 | } | ^