0_0_13804890_1895.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13804890_1895.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13804890_1895.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13804890_1895.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13804890_1895.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13804890_1895.cpp:15:1: error: 'queueq' does not name a type
queueq; //bfs�ö���
^
0_0_13804890_1895.cpp: In function 'int cmp(Line, Line)':
0_0_13804890_1895.cpp:23:1: error: expected ';' before '}' token
}
^
0_0_13804890_1895.cpp: In function 'void init()':
0_0_13804890_1895.cpp:40:29: error: 'memset' was not declared in this scope
memset(head,-1,sizeof(head));
^
0_0_13804890_1895.cpp:41:20: error: 'scanf' was not declared in this scope
scanf("%d%d",&n,&m);
^
0_0_13804890_1895.cpp:43:3: error: expected ';' before 'scanf'
scanf("%d",&high[i]);
^
0_0_13804890_1895.cpp:43:23: error: expected ')' before ';' token
scanf("%d",&high[i]);
^
0_0_13804890_1895.cpp:45:2: error: expected ';' before '{' token
{
^
0_0_13804890_1895.cpp:45:2: error: expected primary-expression before '{' token
0_0_13804890_1895.cpp:45:2: error: expected ')' before '{' token
0_0_13804890_1895.cpp: In function 'void bfs()':
0_0_13804890_1895.cpp:55:2: error: 'q' was not declared in this scope
q.push(1);
^
0_0_13804890_1895.cpp: In function 'void kruscal()':
0_0_13804890_1895.cpp:76:24: error: 'sort' was not declared in this scope
sort(edge,edge+tot,cmp);
^
0_0_13804890_1895.cpp:78:2: error: expected ';' before 'for'
for(i=0;i
^
0_0_13804890_1895.cpp:78:2: error: expected primary-expression before 'for'
0_0_13804890_1895.cpp:78:2: error: expected ')' before 'for'
0_0_13804890_1895.cpp:79:2: error: expected ';' before '{' token
{
^
0_0_13804890_1895.cpp:79:2: error: expected primary-expression before '{' token
0_0_13804890_1895.cpp:79:2: error: expected ')' before '{' token
0_0_13804890_1895.cpp: In function 'void output()':
0_0_13804890_1895.cpp:94:28: error: 'printf' was not declared in this scope
printf("%d %lld\n",cnt,dis); //������
^
|