0_0_32869509_12381.cpp:1:24: error: stray '#' in program
</pre><pre class="cpp">#include<iostream>
^
0_0_32869509_12381.cpp:1:1: error: expected unqualified-id before '<' token
</pre><pre class="cpp">#include<iostream>
^
0_0_32869509_12381.cpp:27:1: error: 'queue' does not name a type
queue<datatype> team;//BFS所用的队列
^
0_0_32869509_12381.cpp:57:1: error: 'vector' does not name a type
vector<mapdata> has[10010];//hash判重用到得vector数组
^
0_0_32869509_12381.cpp: In function 'void deal()':
0_0_32869509_12381.cpp:63:10: error: 'team' was not declared in this scope
while (!team.empty()) team.pop();//清空队列
^
0_0_32869509_12381.cpp:65:2: error: 'cin' was not declared in this scope
cin >> n >> m;//读取n,m,地图长,宽
^
0_0_32869509_12381.cpp:67:3: error: 'has' was not declared in this scope
has[i].clear();//清空hash表
^
0_0_32869509_12381.cpp:85:5: error: 'team' was not declared in this scope
team.push(pt);
^
0_0_32869509_12381.cpp:91:10: error: 'team' was not declared in this scope
while (!team.empty())//BFS
^
0_0_32869509_12381.cpp:164:24: error: 'has' was not declared in this scope
for (int k = 0; k < has[zzt].size(); k++)//遍历所在hash表中的节点
^
0_0_32869509_12381.cpp:173:4: error: 'has' was not declared in this scope
has[zzt].push_back(h);//未访问,hash信息入表
^
0_0_32869509_12381.cpp:179:2: error: 'cout' was not declared in this scope
cout << ans << endl;
^
0_0_32869509_12381.cpp:179:17: error: 'endl' was not declared in this scope
cout << ans << endl;
^
0_0_32869509_12381.cpp: In function 'int main()':
0_0_32869509_12381.cpp:184:2: error: 'cin' was not declared in this scope
cin >> t;
^
|