0_0_17907053_11306.cpp:60:1: error: stray '\344' in program
<p><span><span><br />以上参考 <a >http://www.cnblogs.com/nanke/archive/2012/03/04/2379261.html</a></span></span></p>
^
0_0_17907053_11306.cpp:60:1: error: stray '\273' in program
0_0_17907053_11306.cpp:60:1: error: stray '\245' in program
0_0_17907053_11306.cpp:60:1: error: stray '\344' in program
0_0_17907053_11306.cpp:60:1: error: stray '\270' in program
0_0_17907053_11306.cpp:60:1: error: stray '\212' in program
0_0_17907053_11306.cpp:60:1: error: stray '\345' in program
0_0_17907053_11306.cpp:60:1: error: stray '\217' in program
0_0_17907053_11306.cpp:60:1: error: stray '\202' in program
0_0_17907053_11306.cpp:60:1: error: stray '\350' in program
0_0_17907053_11306.cpp:60:1: error: stray '\200' in program
0_0_17907053_11306.cpp:60:1: error: stray '\203' in program
0_0_17907053_11306.cpp:60:1: error: stray '\302' in program
0_0_17907053_11306.cpp:60:1: error: stray '\240' in program
0_0_17907053_11306.cpp:61:1: error: stray '\345' in program
<p>另一种优化 :复杂度 O(n*k)</p>
^
0_0_17907053_11306.cpp:61:1: error: stray '\217' in program
0_0_17907053_11306.cpp:61:1: error: stray '\246' in program
0_0_17907053_11306.cpp:61:1: error: stray '\344' in program
0_0_17907053_11306.cpp:61:1: error: stray '\270' in program
0_0_17907053_11306.cpp:61:1: error: stray '\200' in program
0_0_17907053_11306.cpp:61:1: error: stray '\347' in program
0_0_17907053_11306.cpp:61:1: error: stray '\247' in program
0_0_17907053_11306.cpp:61:1: error: stray '\215' in program
0_0_17907053_11306.cpp:61:1: error: stray '\344' in program
0_0_17907053_11306.cpp:61:1: error: stray '\274' in program
0_0_17907053_11306.cpp:61:1: error: stray '\230' in program
0_0_17907053_11306.cpp:61:1: error: stray '\345' in program
0_0_17907053_11306.cpp:61:1: error: stray '\214' in program
0_0_17907053_11306.cpp:61:1: error: stray '\226' in program
0_0_17907053_11306.cpp:61:1: error: stray '\357' in program
0_0_17907053_11306.cpp:61:1: error: stray '\274' in program
0_0_17907053_11306.cpp:61:1: error: stray '\232' in program
0_0_17907053_11306.cpp:61:1: error: stray '\345' in program
0_0_17907053_11306.cpp:61:1: error: stray '\244' in program
0_0_17907053_11306.cpp:61:1: error: stray '\215' in program
0_0_17907053_11306.cpp:61:1: error: stray '\346' in program
0_0_17907053_11306.cpp:61:1: error: stray '\235' in program
0_0_17907053_11306.cpp:61:1: error: stray '\202' in program
0_0_17907053_11306.cpp:61:1: error: stray '\345' in program
0_0_17907053_11306.cpp:61:1: error: stray '\272' in program
0_0_17907053_11306.cpp:61:1: error: stray '\246' in program
0_0_17907053_11306.cpp:61:1: error: stray '\357' in program
0_0_17907053_11306.cpp:61:1: error: stray '\274' in program
0_0_17907053_11306.cpp:61:1: error: stray '\210' in program
0_0_17907053_11306.cpp:61:1: error: stray '\357' in program
0_0_17907053_11306.cpp:61:1: error: stray '\274' in program
0_0_17907053_11306.cpp:61:1: error: stray '\211' in program
0_0_17907053_11306.cpp:62:25: error: stray '#' in program
<pre class='brush:cpp'> #include<iostream>
^
0_0_17907053_11306.cpp:59:1: error: expected unqualified-id before '<' token
</pre>
^
0_0_17907053_11306.cpp:80:13: error: redefinition of 'int dp [301]'
int dp[mMAX];
^
0_0_17907053_11306.cpp:19:6: note: 'int dp [301]' previously declared here
int dp[mMAX];
^
0_0_17907053_11306.cpp:81:12: error: redefinition of 'int w [150001]'
int w[nMAX],start[nMAX];
^
0_0_17907053_11306.cpp:20:6: note: 'int w [150001]' previously declared here
int w[nMAX],start[nMAX];
^
0_0_17907053_11306.cpp:81:24: error: redefinition of 'int start [150001]'
int w[nMAX],start[nMAX];
^
0_0_17907053_11306.cpp:20:14: note: 'int start [150001]' previously declared here
int w[nMAX],start[nMAX];
^
0_0_17907053_11306.cpp:82:6: error: redefinition of 'int n'
int n,m,p;
^
0_0_17907053_11306.cpp:21:6: note: 'int n' previously declared here
int n,m,p;
^
0_0_17907053_11306.cpp:82:8: error: redefinition of 'int m'
int n,m,p;
^
0_0_17907053_11306.cpp:21:8: note: 'int m' previously declared here
int n,m,p;
^
0_0_17907053_11306.cpp:82:10: error: redefinition of 'int p'
int n,m,p;
^
0_0_17907053_11306.cpp:21:10: note: 'int p' previously declared here
int n,m,p;
^
0_0_17907053_11306.cpp:83:20: error: redefinition of 'std::vector<int> G [150001]'
vector<int> G[nMAX];
^
0_0_17907053_11306.cpp:22:14: note: 'std::vector<int> G [150001]' previously declared here
vector<int> G[nMAX];
^
0_0_17907053_11306.cpp: In function 'void dfs(int, int*)':
0_0_17907053_11306.cpp:84:24: error: ambiguating new declaration of 'void dfs(int, int*)'
void dfs(int u,int *dp){
^
0_0_17907053_11306.cpp:23:6: note: old declaration 'int dfs(int, int*)'
int dfs(int u,int *dp){
^
0_0_17907053_11306.cpp: In function 'int main()':
0_0_17907053_11306.cpp:97:6: error: redefinition of 'int main()'
int main(){
^
0_0_17907053_11306.cpp:42:6: note: 'int main()' previously defined here
int main(){
^
|