0_0_19426771_26386.cpp:14:9: error: expected unqualified-id before 'for'
for(i=1;i<=n;i++)
^
0_0_19426771_26386.cpp:14:17: error: 'i' does not name a type
for(i=1;i<=n;i++)
^
0_0_19426771_26386.cpp:14:22: error: 'i' does not name a type
for(i=1;i<=n;i++)
^
0_0_19426771_26386.cpp:16:13: error: expected constructor, destructor, or type conversion before '(' token
sort(a+1,a+1+n);
^
0_0_19426771_26386.cpp:17:9: error: 'b' does not name a type
b[0][0]=0;
^
0_0_19426771_26386.cpp:18:9: error: expected unqualified-id before 'for'
for(i=1,j=2;i<=k;i++,j=2*i)//i表示几队,j表示多少物品
^
0_0_19426771_26386.cpp:18:21: error: 'i' does not name a type
for(i=1,j=2;i<=k;i++,j=2*i)//i表示几队,j表示多少物品
^
0_0_19426771_26386.cpp:18:26: error: 'i' does not name a type
for(i=1,j=2;i<=k;i++,j=2*i)//i表示几队,j表示多少物品
^
0_0_19426771_26386.cpp:24:9: error: 'cout' does not name a type
cout<<b[k][n]<<endl;
^
0_0_19426771_26386.cpp:25:5: error: expected declaration before '}' token
}
^
|