0_0_21021760_5560.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include <iostream>
^
0_0_21021760_5560.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include <algorithm>
^
0_0_21021760_5560.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include <cmath>
^
0_0_21021760_5560.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstdio>
^
0_0_21021760_5560.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstdlib>
^
0_0_21021760_5560.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstring>
^
0_0_21021760_5560.cpp:7:9: error: #include expects "FILENAME" or <FILENAME>
#include <string>
^
0_0_21021760_5560.cpp:8:9: error: #include expects "FILENAME" or <FILENAME>
#include <vector>
^
0_0_21021760_5560.cpp:9:9: error: #include expects "FILENAME" or <FILENAME>
#include <set>
^
0_0_21021760_5560.cpp:10:9: error: #include expects "FILENAME" or <FILENAME>
#include <queue>
^
0_0_21021760_5560.cpp:11:9: error: #include expects "FILENAME" or <FILENAME>
#include <stack>
^
0_0_21021760_5560.cpp:12:9: error: #include expects "FILENAME" or <FILENAME>
#include <climits>//形如INT_MAX一类的
^
0_0_21021760_5560.cpp:13:8: error: macro names must be identifiers
#define MAX 2000005
^
0_0_21021760_5560.cpp:14:8: error: macro names must be identifiers
#define INF 0x7FFFFFFF
^
0_0_21021760_5560.cpp:15:2: error: invalid preprocessing directive #&
# define eps 1e-5
^
0_0_21021760_5560.cpp:16:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_21021760_5560.cpp:16:21: error: expected identifier before '&' token
using namespace std;
^
0_0_21021760_5560.cpp:16:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21021760_5560.cpp:16:27: error: 'std' does not name a type
using namespace std;
^
0_0_21021760_5560.cpp:16:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21021760_5560.cpp:16:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21021760_5560.cpp:17:5: error: 'nbsp' declared as reference but not initialized
int par[MAX],n,m,maxedge,cnt,del,A,B;//del要删去的点,A,B为新加的点和边
^
0_0_21021760_5560.cpp:17:10: error: 'par' does not name a type
int par[MAX],n,m,maxedge,cnt,del,A,B;//del要删去的点,A,B为新加的点和边
^
0_0_21021760_5560.cpp:18:5: error: redefinition of 'int& nbsp'
int index[2005];
^
0_0_21021760_5560.cpp:17:5: note: 'int& nbsp' previously declared here
int par[MAX],n,m,maxedge,cnt,del,A,B;//del要删去的点,A,B为新加的点和边
^
0_0_21021760_5560.cpp:18:10: error: 'index' does not name a type
int index[2005];
^
0_0_21021760_5560.cpp:18:27: error: expected constructor, destructor, or type conversion before ';' token
int index[2005];
^
0_0_21021760_5560.cpp:18:33: error: expected constructor, destructor, or type conversion before ';' token
int index[2005];
^
0_0_21021760_5560.cpp:19:7: error: expected identifier before '&' token
struct Edge
^
0_0_21021760_5560.cpp:19:12: error: invalid type in declaration before ';' token
struct Edge
^
0_0_21021760_5560.cpp:19:12: error: redefinition of 'int& nbsp'
0_0_21021760_5560.cpp:17:5: note: 'int& nbsp' previously declared here
int par[MAX],n,m,maxedge,cnt,del,A,B;//del要删去的点,A,B为新加的点和边
^
0_0_21021760_5560.cpp:19:13: error: 'Edge' does not name a type
struct Edge
^
0_0_21021760_5560.cpp:19:28: error: expected constructor, destructor, or type conversion before ';' token
struct Edge
^
0_0_21021760_5560.cpp:20:1: error: expected unqualified-id before '{' token
{
^
0_0_21021760_5560.cpp:24:2: error: 'edge' does not name a type
}edge[MAX];
^
0_0_21021760_5560.cpp:24:17: error: expected constructor, destructor, or type conversion before ';' token
}edge[MAX];
^
0_0_21021760_5560.cpp:24:23: error: expected constructor, destructor, or type conversion before ';' token
}edge[MAX];
^
0_0_21021760_5560.cpp:25:6: error: conflicting declaration 'bool& nbsp'
bool cmp(Edge a, Edge b)
^
0_0_21021760_5560.cpp:17:5: note: previous declaration as 'int& nbsp'
int par[MAX],n,m,maxedge,cnt,del,A,B;//del要删去的点,A,B为新加的点和边
^
0_0_21021760_5560.cpp:25:14: error: expected constructor, destructor, or type conversion before '(' token
bool cmp(Edge a, Edge b)
^
0_0_21021760_5560.cpp:25:25: error: 'a' does not name a type
bool cmp(Edge a, Edge b)
^
0_0_21021760_5560.cpp:25:33: error: 'Edge' does not name a type
bool cmp(Edge a, Edge b)
^
0_0_21021760_5560.cpp:25:43: error: 'b' does not name a type
bool cmp(Edge a, Edge b)
^
0_0_21021760_5560.cpp:25:56: error: expected constructor, destructor, or type conversion before ';' token
bool cmp(Edge a, Edge b)
^
0_0_21021760_5560.cpp:26:1: error: expected unqualified-id before '{' token
{
^
0_0_21021760_5560.cpp:28:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21021760_5560.cpp:28:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21021760_5560.cpp:29:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21021760_5560.cpp:29:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21021760_5560.cpp:30:5: error: redefinition of 'int& nbsp'
int find(int x)//查
^
0_0_21021760_5560.cpp:17:5: note: 'int& nbsp' previously declared here
int par[MAX],n,m,maxedge,cnt,del,A,B;//del要删去的点,A,B为新加的点和边
^
0_0_21021760_5560.cpp:30:23: error: expected ')' before ';' token
int find(int x)//查
^
0_0_21021760_5560.cpp:30:23: error: expected constructor, destructor, or type conversion before ';' token
0_0_21021760_5560.cpp:30:24: error: 'x' does not name a type
int find(int x)//查
^
0_0_21021760_5560.cpp:35:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21021760_5560.cpp:35:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21021760_5560.cpp:36:6: error: cannot declare reference to 'void'
void connect(int a,int b)//并
^
0_0_21021760_5560.cpp:36:6: error: variable or field 'nbsp' declared void
0_0_21021760_5560.cpp:36:27: error: expected ')' before ';' token
void connect(int a,int b)//并
^
0_0_21021760_5560.cpp:36:27: error: expected constructor, destructor, or type conversion before ';' token
0_0_21021760_5560.cpp:36:28: error: 'a' does not name a type
void connect(int a,int b)//并
^
0_0_21021760_5560.cpp:36:39: error: 'b' does not name a type
void connect(int a,int b)//并
^
0_0_21021760_5560.cpp:46:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21021760_5560.cpp:46:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21021760_5560.cpp:47:5: error: redefinition of 'int& nbsp'
int kruskal()
^
0_0_21021760_5560.cpp:17:5: note: 'int& nbsp' previously declared here
int par[MAX],n,m,maxedge,cnt,del,A,B;//del要删去的点,A,B为新加的点和边
^
0_0_21021760_5560.cpp:47:20: error: expected constructor, destructor, or type conversion before 'nbsp'
int kruskal()
^
0_0_21021760_5560.cpp:47:30: error: expected constructor, destructor, or type conversion before ';' token
int kruskal()
|