/in/foo.cc:1:3: error: stray '#' in program
1 #include<cstdio>
^
/in/foo.cc:2:4: error: stray '#' in program
2 #include<algorithm>
^
/in/foo.cc:3:4: error: stray '#' in program
3 #include<cstring>
^
/in/foo.cc:1:1: error: expected unqualified-id before numeric constant
1 #include<cstdio>
^
/in/foo.cc:5:2: error: expected unqualified-id before numeric constant
5 const int Inf=0x3f3f3f3f;
^
/in/foo.cc:6:2: error: expected unqualified-id before numeric constant
6 int n,root,money[maxn],dp[maxn][3];
^
/in/foo.cc:7:2: error: expected unqualified-id before numeric constant
7
^
/in/foo.cc:9:29: error: 'e' does not name a type
9 struct Edge{int to,next;}e[maxn];
^
/in/foo.cc:10:1: error: expected unqualified-id before numeric constant
10 int Head[maxn],len;
^~
/in/foo.cc:11:1: error: expected unqualified-id before numeric constant
11 void Insert(int x,int y){
^~
/in/foo.cc:16:1: error: expected unqualified-id before numeric constant
16
^~