0_0_33834688_27038.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:7:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:8:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:9:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:10:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33834688_27038.cpp:32:1: error: 'mapmp' does not name a type
mapmp;
^
0_0_33834688_27038.cpp:33:1: error: 'priority_queuep' does not name a type
priority_queuep; //优先队列
^
0_0_33834688_27038.cpp: In function 'void Init(int)':
0_0_33834688_27038.cpp:54:5: error: 'mp' was not declared in this scope
mp.clear();
^
0_0_33834688_27038.cpp:55:36: error: 'memset' was not declared in this scope
memset (hand, -1, sizeof (hand));
^
0_0_33834688_27038.cpp:61:36: error: 'scanf' was not declared in this scope
scanf ("%d %s", &v, ch1);
^
0_0_33834688_27038.cpp:66:30: error: 'strlen' was not declared in this scope
len = strlen (ch1);
^
0_0_33834688_27038.cpp: In function 'void Dijkstra(int)':
0_0_33834688_27038.cpp:99:13: error: 'p' was not declared in this scope
while (!p.empty()) p.pop(); //清空队列
^
0_0_33834688_27038.cpp:103:5: error: 'p' was not declared in this scope
p.push(now); //将起始点压入队列中
^
0_0_33834688_27038.cpp: In function 'int main()':
0_0_33834688_27038.cpp:129:27: error: 'scanf' was not declared in this scope
while (scanf ("%d", &n) != EOF){
^
0_0_33834688_27038.cpp:129:32: error: 'EOF' was not declared in this scope
while (scanf ("%d", &n) != EOF){
^
0_0_33834688_27038.cpp:134:27: error: 'printf' was not declared in this scope
printf ("-1\n");
^
0_0_33834688_27038.cpp:136:44: error: 'printf' was not declared in this scope
printf ("%d\n", dis[end1] + sum); //要加第一个成语的用时
^
|