0_0_20981202_27547.cpp:10:20: error: stray '#' in program
const int maxn=1e3+10;
^
0_0_20981202_27547.cpp:11:20: error: stray '#' in program
const int maxm=1e6+10;
^
0_0_20981202_27547.cpp:20:23: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:20:28: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:22:18: error: stray '#' in program
sort(a,a+n);
^
0_0_20981202_27547.cpp:26:23: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:26:28: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:28:17: error: stray '#' in program
m=m+a[i];//前i个数能组合的最大值。
^
0_0_20981202_27547.cpp:34:26: error: stray '#' in program
while(f[k])k++;
^
0_0_20981202_27547.cpp:34:31: error: stray '#' in program
while(f[k])k++;
^
0_0_20981202_27547.cpp:37:22: error: stray '#' in program
while(f[k])k++;
^
0_0_20981202_27547.cpp:37:27: error: stray '#' in program
while(f[k])k++;
^
0_0_20981202_27547.cpp:10:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
const int maxn=1e3+10;
^
0_0_20981202_27547.cpp:10:24: error: expected unqualified-id before numeric constant
const int maxn=1e3+10;
^
0_0_20981202_27547.cpp:11:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
const int maxm=1e6+10;
^
0_0_20981202_27547.cpp:11:24: error: expected unqualified-id before numeric constant
const int maxm=1e6+10;
^
0_0_20981202_27547.cpp:12:11: error: size of array 'a' is not an integral constant-expression
int a[maxn];
^
0_0_20981202_27547.cpp:13:11: error: size of array 'f' is not an integral constant-expression
int f[maxm];
^
0_0_20981202_27547.cpp: In function 'int main()':
0_0_20981202_27547.cpp:20:26: error: expected ')' before ';' token
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:20:29: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:20:32: error: expected primary-expression before ')' token
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:22:19: error: invalid operands of types 'int [1]' and 'int' to binary 'operator&'
sort(a,a+n);
^
0_0_20981202_27547.cpp:22:23: error: expected ';' before ')' token
sort(a,a+n);
^
0_0_20981202_27547.cpp:26:26: error: expected ')' before ';' token
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:26:29: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:26:32: error: expected primary-expression before ')' token
for(i=0;i<n;i++)
^
0_0_20981202_27547.cpp:37:28: error: lvalue required as unary '&' operand
while(f[k])k++;
^
|