/in/foo.cc:2:4: error: stray '#' in program
2 #include<cstring>
^
/in/foo.cc:2:2: error: expected unqualified-id before numeric constant
2 #include<cstring>
^
/in/foo.cc:4:2: error: expected unqualified-id before numeric constant
4 const int maxm=50000;
^
/in/foo.cc:5:2: error: expected unqualified-id before numeric constant
5 const double inf=1e6;
^
/in/foo.cc:6:2: error: expected unqualified-id before numeric constant
6 const double error=0.001;
^
/in/foo.cc:7:2: error: expected unqualified-id before numeric constant
7 int n,m,s,t;
^
/in/foo.cc:8:2: error: expected unqualified-id before numeric constant
8 double tw,tot;
^
/in/foo.cc:9:2: error: expected unqualified-id before numeric constant
9 int a,b,c;
^
/in/foo.cc:10:1: error: expected unqualified-id before numeric constant
10 double q[maxn],z[maxn];
^~
/in/foo.cc:11:1: error: expected unqualified-id before numeric constant
11 bool map[maxn][maxn];
^~
/in/foo.cc:12:1: error: expected unqualified-id before numeric constant
12 double l,r,mid;
^~
/in/foo.cc:13:1: error: expected unqualified-id before numeric constant
13 inline double min_(double x,double y){return x<y?x:y;}
^~
/in/foo.cc:14:1: error: expected unqualified-id before numeric constant
14 int h[maxn],hs;
^~
/in/foo.cc:15:1: error: expected unqualified-id before numeric constant
15 struct edge{int s,n;double w;}e[maxm];
^~
/in/foo.cc:15:34: error: 'e' does not name a type
15 struct edge{int s,n;double w;}e[maxm];
^
/in/foo.cc:16:1: error: expected unqualified-id before numeric constant
16 void add(int x,int y,double z){
^~