QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#102019 | #6312. 城市建造 | alch07# | Compile Error | / | / | C++14 | 1.7kb | 2023-05-02 10:19:01 | 2024-05-26 02:49:42 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:8:1: error: ‘vector’ does not name a type 8 | vector <pair<int,int>> v; | ^~~~~~ answer.code: In function ‘int main()’: answer.code:45:9: error: ‘v’ was not declared in this scope 45 | v.push_back(make_pair(a, b)); | ^ answer.code:47:5: error: ‘ll’ was not declared in this scope 47 | ll tot = 0; | ^~ answer.code:64:21: error: ‘v’ was not declared in this scope 64 | if(part[v[j].first] || part[v[j].second]){ | ^ answer.code:75:73: error: expected ‘)’ before ‘{’ token 75 | if((cnt >= 2) && (cnt == compCnt) && ((lowComp + k) >= highComp){ | ~ ^ | ) answer.code:78:5: error: expected primary-expression before ‘}’ token 78 | } | ^ answer.code:79:13: error: ‘tot’ was not declared in this scope 79 | cout << tot << endl; | ^~~