0_0_26038517_7262.cpp:111:3: error: stray '#' in program
} #include<bits/stdc++.h>
^
0_0_26038517_7262.cpp:111:4: error: 'include' does not name a type
} #include<bits/stdc++.h>
^
0_0_26038517_7262.cpp:115:5: error: redefinition of 'int n'
int n,m,K,W;
^
0_0_26038517_7262.cpp:5:5: note: 'int n' previously declared here
int n,m,K,W;
^
0_0_26038517_7262.cpp:115:7: error: redefinition of 'int m'
int n,m,K,W;
^
0_0_26038517_7262.cpp:5:7: note: 'int m' previously declared here
int n,m,K,W;
^
0_0_26038517_7262.cpp:115:9: error: redefinition of 'int K'
int n,m,K,W;
^
0_0_26038517_7262.cpp:5:9: note: 'int K' previously declared here
int n,m,K,W;
^
0_0_26038517_7262.cpp:115:11: error: redefinition of 'int W'
int n,m,K,W;
^
0_0_26038517_7262.cpp:5:11: note: 'int W' previously declared here
int n,m,K,W;
^
0_0_26038517_7262.cpp:117:11: error: redefinition of 'int d [100005]'
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:7:5: note: 'int d [100005]' previously declared here
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:117:19: error: redefinition of 'int a [100005]'
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:7:13: note: 'int a [100005]' previously declared here
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:117:29: error: redefinition of 'int inq [100005]'
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:7:21: note: 'int inq [100005]' previously declared here
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:117:37: error: redefinition of 'int p [100005]'
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:7:31: note: 'int p [100005]' previously declared here
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:117:39: error: redefinition of 'int tar'
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:7:39: note: 'int tar' previously declared here
int d[maxn],a[maxn],inq[maxn],p[maxn],tar;
^
0_0_26038517_7262.cpp:120:8: error: redefinition of 'struct movie'
struct movie{
^
0_0_26038517_7262.cpp:10:8: error: previous definition of 'struct movie'
struct movie{
^
0_0_26038517_7262.cpp:125:10: error: invalid type in declaration before ';' token
}mv[maxn];
^
0_0_26038517_7262.cpp:125:10: error: conflicting declaration 'int mv [100005]'
0_0_26038517_7262.cpp:15:2: note: previous declaration as 'movie mv [100005]'
}mv[maxn];
^
0_0_26038517_7262.cpp:127:8: error: redefinition of 'struct edge'
struct edge{
^
0_0_26038517_7262.cpp:17:8: error: previous definition of 'struct edge'
struct edge{
^
0_0_26038517_7262.cpp:135:19: error: redefinition of 'std::vector<int> v [100005]'
vector<int> v[maxn];
^
0_0_26038517_7262.cpp:25:13: note: 'std::vector<int> v [100005]' previously declared here
vector<int> v[maxn];
^
0_0_26038517_7262.cpp:136:14: error: redefinition of 'std::vector<edge> g'
vector<edge> g;
^
0_0_26038517_7262.cpp:26:14: note: 'std::vector<edge> g' previously declared here
vector<edge> g;
^
0_0_26038517_7262.cpp: In function 'void add_edge(int, int, int, int)':
0_0_26038517_7262.cpp:138:6: error: redefinition of 'void add_edge(int, int, int, int)'
void add_edge(int from,int to,int cap,int cost){
^
0_0_26038517_7262.cpp:28:6: note: 'void add_edge(int, int, int, int)' previously defined here
void add_edge(int from,int to,int cap,int cost){
^
0_0_26038517_7262.cpp: In function 'bool bellmanford(int&, int&)':
0_0_26038517_7262.cpp:146:6: error: redefinition of 'bool bellmanford(int&, int&)'
bool bellmanford(int &flow,int &cost){
^
0_0_26038517_7262.cpp:36:6: note: 'bool bellmanford(int&, int&)' previously defined here
bool bellmanford(int &flow,int &cost){
^
0_0_26038517_7262.cpp: In function 'int slove()':
0_0_26038517_7262.cpp:185:5: error: redefinition of 'int slove()'
int slove(){
^
0_0_26038517_7262.cpp:75:5: note: 'int slove()' previously defined here
int slove(){
^
0_0_26038517_7262.cpp: In function 'int main()':
0_0_26038517_7262.cpp:211:5: error: redefinition of 'int main()'
int main(){
^
0_0_26038517_7262.cpp:101:5: note: 'int main()' previously defined here
int main(){
^
|