QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#429065 | #4832. Telepathy | ucup-team2262# | Compile Error | / | / | C++14 | 1.9kb | 2024-06-02 00:27:13 | 2024-06-02 00:27:13 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solv()’: answer.code:62:24: error: expected ‘}’ before numeric constant 62 | vector<int> v = {0 0 2 0 1 1 2 0}; | ~ ^ answer.code:62:24: error: expected ‘,’ or ‘;’ before numeric constant answer.code: At global scope: answer.code:63:25: error: expected ‘}’ before numeric constant 63 | vector<int> v2 = {0 0 0 0 0 0 0 0}; | ~ ^ answer.code:63:25: error: expected ‘,’ or ‘;’ before numeric constant answer.code:63:38: error: expected declaration before ‘}’ token 63 | vector<int> v2 = {0 0 0 0 0 0 0 0}; | ^ answer.code:65:5: error: ‘cin’ does not name a type 65 | cin >> ty; | ^~~ answer.code:66:5: error: expected unqualified-id before ‘if’ 66 | if (ty == "Flim") | ^~ answer.code:72:5: error: ‘cin’ does not name a type 72 | cin >> n >> k; | ^~~ answer.code:74:5: error: ‘cin’ does not name a type 74 | cin >> s; | ^~~ answer.code:75:5: error: expected unqualified-id before ‘for’ 75 | for (int i = 0; i < k; ++i) | ^~~ answer.code:75:21: error: ‘i’ does not name a type; did you mean ‘fi’? 75 | for (int i = 0; i < k; ++i) | ^ | fi answer.code:75:28: error: expected unqualified-id before ‘++’ token 75 | for (int i = 0; i < k; ++i) | ^~ answer.code:80:5: error: ‘cout’ does not name a type 80 | cout << "\n"; | ^~~~ answer.code:81:1: error: expected declaration before ‘}’ token 81 | } | ^