0_0_36379218_15258.cpp:155:11: error: redefinition of 'const int INF'
const int INF=0x3f3f3f3f;
^
0_0_36379218_15258.cpp:21:11: note: 'const int INF' previously defined here
const int INF=0x3f3f3f3f;
^
0_0_36379218_15258.cpp:156:10: error: redefinition of 'const ll LINF'
const ll LINF=0x3f3f3f3f3f3f3f3f;
^
0_0_36379218_15258.cpp:22:10: note: 'const ll LINF' previously defined here
const ll LINF=0x3f3f3f3f3f3f3f3f;
^
0_0_36379218_15258.cpp:157:14: error: redefinition of 'const double eps'
const double eps=1e-12;
^
0_0_36379218_15258.cpp:23:14: note: 'const double eps' previously defined here
const double eps=1e-12;
^
0_0_36379218_15258.cpp:158:14: error: redefinition of 'const double PI'
const double PI=acos(-1.0);
^
0_0_36379218_15258.cpp:24:14: note: 'const double PI' previously defined here
const double PI=acos(-1.0);
^
0_0_36379218_15258.cpp:159:10: error: redefinition of 'const ll mod'
const ll mod=998244353;
^
0_0_36379218_15258.cpp:25:10: note: 'const ll mod' previously defined here
const ll mod=998244353;
^
0_0_36379218_15258.cpp:160:15: error: redefinition of 'const int dx [8]'
const int dx[8]={0,1,0,-1,1,1,-1,-1},dy[8]={1,0,-1,0,1,-1,1,-1};
^
0_0_36379218_15258.cpp:26:11: note: 'const int dx [8]' previously defined here
const int dx[8]={0,1,0,-1,1,1,-1,-1},dy[8]={1,0,-1,0,1,-1,1,-1};
^
0_0_36379218_15258.cpp:160:42: error: redefinition of 'const int dy [8]'
const int dx[8]={0,1,0,-1,1,1,-1,-1},dy[8]={1,0,-1,0,1,-1,1,-1};
^
0_0_36379218_15258.cpp:26:38: note: 'const int dy [8]' previously defined here
const int dx[8]={0,1,0,-1,1,1,-1,-1},dy[8]={1,0,-1,0,1,-1,1,-1};
^
0_0_36379218_15258.cpp: In function 'void debug()':
0_0_36379218_15258.cpp:161:6: error: redefinition of 'void debug()'
void debug(){cerr<<'\n';}template<typename T,typename... Args>void debug(T x,Args... args){cerr<<"[ "<<x<< " ] , ";debug(args...);}
^
0_0_36379218_15258.cpp:27:6: note: 'void debug()' previously defined here
void debug(){cerr<<'\n';}template<typename T,typename... Args>void debug(T x,Args... args){cerr<<"[ "<<x<< " ] , ";debug(args...);}
^
0_0_36379218_15258.cpp: At global scope:
0_0_36379218_15258.cpp:161:68: error: redefinition of 'template<class T, class ... Args> void debug(T, Args ...)'
void debug(){cerr<<'\n';}template<typename T,typename... Args>void debug(T x,Args... args){cerr<<"[ "<<x<< " ] , ";debug(args...);}
^
0_0_36379218_15258.cpp:27:68: note: 'template<class T, class ... Args> void debug(T, Args ...)' previously declared here
void debug(){cerr<<'\n';}template<typename T,typename... Args>void debug(T x,Args... args){cerr<<"[ "<<x<< " ] , ";debug(args...);}
^
0_0_36379218_15258.cpp:162:50: error: redefinition of 'std::mt19937 mt19937random'
mt19937 mt19937random(std::chrono::system_clock::now().time_since_epoch().count());
^
0_0_36379218_15258.cpp:28:9: note: 'std::mt19937 mt19937random' previously declared here
mt19937 mt19937random(std::chrono::system_clock::now().time_since_epoch().count());
^
0_0_36379218_15258.cpp: In function 'll getRandom(ll, ll)':
0_0_36379218_15258.cpp:163:4: error: redefinition of 'll getRandom(ll, ll)'
ll getRandom(ll l,ll r){return uniform_int_distribution<ll>(l,r)(mt19937random);}
^
0_0_36379218_15258.cpp:29:4: note: 'll getRandom(ll, ll)' previously defined here
ll getRandom(ll l,ll r){return uniform_int_distribution<ll>(l,r)(mt19937random);}
^
0_0_36379218_15258.cpp: In function 'll gcd(ll, ll)':
0_0_36379218_15258.cpp:164:4: error: redefinition of 'll gcd(ll, ll)'
ll gcd(ll a,ll b){return b==0?a:gcd(b,a%b);}
^
0_0_36379218_15258.cpp:30:4: note: 'll gcd(ll, ll)' previously defined here
ll gcd(ll a,ll b){return b==0?a:gcd(b,a%b);}
^
0_0_36379218_15258.cpp: In function 'll qmul(ll, ll)':
0_0_36379218_15258.cpp:165:4: error: redefinition of 'll qmul(ll, ll)'
ll qmul(ll a,ll b){ll r=0;while(b){if(b&1)r=(r+a)%mod;b>>=1;a=(a+a)%mod;}return r;}
^
0_0_36379218_15258.cpp:31:4: note: 'll qmul(ll, ll)' previously defined here
ll qmul(ll a,ll b){ll r=0;while(b){if(b&1)r=(r+a)%mod;b>>=1;a=(a+a)%mod;}return r;}
^
0_0_36379218_15258.cpp: In function 'll qpow(ll, ll)':
0_0_36379218_15258.cpp:166:4: error: redefinition of 'll qpow(ll, ll)'
ll qpow(ll a,ll n){ll r=1;while(n){if(n&1)r=(r*a)%mod;n>>=1;a=(a*a)%mod;}return r;}
^
0_0_36379218_15258.cpp:32:4: note: 'll qpow(ll, ll)' previously defined here
ll qpow(ll a,ll n){ll r=1;while(n){if(n&1)r=(r*a)%mod;n>>=1;a=(a*a)%mod;}return r;}
^
0_0_36379218_15258.cpp: In function 'll qpow(ll, ll, ll)':
0_0_36379218_15258.cpp:167:4: error: redefinition of 'll qpow(ll, ll, ll)'
ll qpow(ll a,ll n,ll p){ll r=1;while(n){if(n&1)r=(r*a)%p;n>>=1;a=(a*a)%p;}return r;}
^
0_0_36379218_15258.cpp:33:4: note: 'll qpow(ll, ll, ll)' previously defined here
ll qpow(ll a,ll n,ll p){ll r=1;while(n){if(n&1)r=(r*a)%p;n>>=1;a=(a*a)%p;}return r;}
^
0_0_36379218_15258.cpp: At global scope:
0_0_36379218_15258.cpp:169:11: error: redefinition of 'const int maxn'
const int maxn=1080,maxm=66666;
^
0_0_36379218_15258.cpp:35:11: note: 'const int maxn' previously defined here
const int maxn=1080,maxm=66666;
^
0_0_36379218_15258.cpp:169:21: error: redefinition of 'const int maxm'
const int maxn=1080,maxm=66666;
^
0_0_36379218_15258.cpp:35:21: note: 'const int maxm' previously defined here
const int maxn=1080,maxm=66666;
^
0_0_36379218_15258.cpp:170:8: error: redefinition of 'struct edge'
struct edge{
^
0_0_36379218_15258.cpp:36:8: error: previous definition of 'struct edge'
struct edge{
^
0_0_36379218_15258.cpp:174:13: error: invalid type in declaration before ';' token
}eg[maxm<<1];
^
0_0_36379218_15258.cpp:174:13: error: conflicting declaration 'int eg [133332]'
0_0_36379218_15258.cpp:40:2: note: previous declaration as 'edge eg [133332]'
}eg[maxm<<1];
^
0_0_36379218_15258.cpp:175:5: error: redefinition of 'int tot'
int tot,dis[maxn<<1],cur[maxn<<1];
^
0_0_36379218_15258.cpp:41:5: note: 'int tot' previously declared here
int tot,dis[maxn<<1],cur[maxn<<1];
^
0_0_36379218_15258.cpp:175:20: error: redefinition of 'int dis [2160]'
int tot,dis[maxn<<1],cur[maxn<<1];
^
0_0_36379218_15258.cpp:41:9: note: 'int dis [2160]' previously declared here
int tot,dis[maxn<<1],cur[maxn<<1];
^
0_0_36379218_15258.cpp:175:33: error: redefinition of 'int cur [2160]'
int tot,dis[maxn<<1],cur[maxn<<1];
^
0_0_36379218_15258.cpp:41:22: note: 'int cur [2160]' previously declared here
int tot,dis[maxn<<1],cur[maxn<<1];
^
0_0_36379218_15258.cpp:176:24: error: redefinition of 'std::vector<int> tab [2160]'
vector<int> tab[maxn<<1];
^
0_0_36379218_15258.cpp:42:13: note: 'std::vector<int> tab [2160]' previously declared here
vector<int> tab[maxn<<1];
^
0_0_36379218_15258.cpp: In function 'void init(int)':
0_0_36379218_15258.cpp:178:6: error: redefinition of 'void init(int)'
void init(int n){
^
0_0_36379218_15258.cpp:44:6: note: 'void init(int)' previously defined here
void init(int n){
^
0_0_36379218_15258.cpp: In function 'void addedge(int, int, int)':
0_0_36379218_15258.cpp:182:6: error: redefinition of 'void addedge(int, int, int)'
void addedge(int u,int v,int cap){
^
0_0_36379218_15258.cpp:48:6: note: 'void addedge(int, int, int)' previously defined here
void addedge(int u,int v,int cap){
^
0_0_36379218_15258.cpp: In function 'int bfs(int, int)':
0_0_36379218_15258.cpp:188:5: error: redefinition of 'int bfs(int, int)'
int bfs(int s,int t){
^
0_0_36379218_15258.cpp:54:5: note: 'int bfs(int, int)' previously defined here
int bfs(int s,int t){
^
0_0_36379218_15258.cpp: In function 'int dfs(int, int, int, int)':
0_0_36379218_15258.cpp:206:5: error: redefinition of 'int dfs(int, int, int, int)'
int dfs(int x,int maxflow,int s,int t){
^
0_0_36379218_15258.cpp:72:5: note: 'int dfs(int, int, int, int)' previously defined here
int dfs(int x,int maxflow,int s,int t){
^
0_0_36379218_15258.cpp: In function 'int dinic(int, int)':
0_0_36379218_15258.cpp:224:5: error: redefinition of 'int dinic(int, int)'
int dinic(int s,int t){
^
0_0_36379218_15258.cpp:90:5: note: 'int dinic(int, int)' previously defined here
int dinic(int s,int t){
^
0_0_36379218_15258.cpp: At global scope:
0_0_36379218_15258.cpp:233:5: error: redefinition of 'int T'
int T,a,b,c;
^
0_0_36379218_15258.cpp:99:5: note: 'int T' previously declared here
int T,a,b,c;
^
0_0_36379218_15258.cpp:233:7: error: redefinition of 'int a'
int T,a,b,c;
^
0_0_36379218_15258.cpp:99:7: note: 'int a' previously declared here
int T,a,b,c;
^
0_0_36379218_15258.cpp:233:9: error: redefinition of 'int b'
int T,a,b,c;
^
0_0_36379218_15258.cpp:99:9: note: 'int b' previously declared here
int T,a,b,c;
^
0_0_36379218_15258.cpp:233:11: error: redefinition of 'int c'
int T,a,
|