0_0_18095157_6231.cpp:32:5: error: stray '\265' in program
{的两边不相邻.
^
0_0_18095157_6231.cpp:32:5: error: stray '\304' in program
0_0_18095157_6231.cpp:32:5: error: stray '\301' in program
0_0_18095157_6231.cpp:32:5: error: stray '\275' in program
0_0_18095157_6231.cpp:32:5: error: stray '\261' in program
0_0_18095157_6231.cpp:32:5: error: stray '\337' in program
0_0_18095157_6231.cpp:32:5: error: stray '\262' in program
0_0_18095157_6231.cpp:32:5: error: stray '\273' in program
0_0_18095157_6231.cpp:32:5: error: stray '\317' in program
0_0_18095157_6231.cpp:32:5: error: stray '\340' in program
0_0_18095157_6231.cpp:32:5: error: stray '\301' in program
0_0_18095157_6231.cpp:32:5: error: stray '\332' in program
0_0_18095157_6231.cpp: In function 'int main()':
0_0_18095157_6231.cpp:32:18: error: expected primary-expression before '.' token
{的两边不相邻.
^
0_0_18095157_6231.cpp:33:9: error: expected unqualified-id before 'for'
for(int i=1;i<=n;i++) G[i].clear();
^
0_0_18095157_6231.cpp:33:21: error: 'i' was not declared in this scope
for(int i=1;i<=n;i++) G[i].clear();
^
0_0_18095157_6231.cpp:34:12: error: 'indeg' was not declared in this scope
MM(indeg,0);MM(vis,0);
^
0_0_18095157_6231.cpp:11:24: note: in definition of macro 'MM'
#define MM(a,b) memset(a,b,sizeof(a))
^
0_0_18095157_6231.cpp:37:46: error: invalid types 'int[int]' for array subscript
for(int i=1;i<=n;i++) scanf("%d",&v[i]);
^
0_0_18095157_6231.cpp:50:22: error: invalid types 'int[int]' for array subscript
dp[i]=v[i];
^
0_0_18095157_6231.cpp:59:29: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<edge> >::value_type {aka edge}' to 'int' in initialization
int v=G[u][i];
^
0_0_18095157_6231.cpp:61:39: error: expected primary-expression before ')' token
dp[v]=max(dp[v],dp[u]-);
^
|