0_0_20986782_27354.cpp:18:31: error: stray '#' in program
int len=(int)sqrt(0.5+m);
^
0_0_20986782_27354.cpp:20:36: error: stray '#' in program
for(int i=2; i<=len&&m>1; ++i)
^
0_0_20986782_27354.cpp:20:41: error: stray '#' in program
for(int i=2; i<=len&&m>1; ++i)
^
0_0_20986782_27354.cpp:24:32: error: stray '#' in program
while(m%i==0) ++num[k],m/=i;
^
0_0_20986782_27354.cpp:24:37: error: stray '#' in program
while(m%i==0) ++num[k],m/=i;
^
0_0_20986782_27354.cpp:25:18: error: stray '#' in program
++k;
^
0_0_20986782_27354.cpp:25:23: error: stray '#' in program
++k;
^
0_0_20986782_27354.cpp:27:24: error: stray '#' in program
if(m!=1) num[k++]=1;
^
0_0_20986782_27354.cpp:27:29: error: stray '#' in program
if(m!=1) num[k++]=1;
^
0_0_20986782_27354.cpp:28:28: error: stray '#' in program
for(int i=0; i<k; ++i) sum=sum*num[i]*6;
^
0_0_20986782_27354.cpp:28:33: error: stray '#' in program
for(int i=0; i<k; ++i) sum=sum*num[i]*6;
^
0_0_20986782_27354.cpp: In function 'int main()':
0_0_20986782_27354.cpp:18:32: error: invalid operands of types 'double' and 'int' to binary 'operator&'
int len=(int)sqrt(0.5+m);
^
0_0_20986782_27354.cpp:18:36: error: expected ';' before ')' token
int len=(int)sqrt(0.5+m);
^
0_0_20986782_27354.cpp:20:37: error: lvalue required as unary '&' operand
for(int i=2; i<=len&&m>1; ++i)
^
0_0_20986782_27354.cpp:20:39: error: expected ')' before ';' token
for(int i=2; i<=len&&m>1; ++i)
^
0_0_20986782_27354.cpp:20:42: error: lvalue required as unary '&' operand
for(int i=2; i<=len&&m>1; ++i)
^
0_0_20986782_27354.cpp:20:45: error: 'i' was not declared in this scope
for(int i=2; i<=len&&m>1; ++i)
^
0_0_20986782_27354.cpp:27:27: error: expected ']' before ';' token
if(m!=1) num[k++]=1;
^
0_0_20986782_27354.cpp:27:30: error: lvalue required as unary '&' operand
if(m!=1) num[k++]=1;
^
0_0_20986782_27354.cpp:27:33: error: expected primary-expression before ']' token
if(m!=1) num[k++]=1;
^
0_0_20986782_27354.cpp:28:29: error: lvalue required as unary '&' operand
for(int i=0; i<k; ++i) sum=sum*num[i]*6;
^
0_0_20986782_27354.cpp:28:31: error: expected ')' before ';' token
for(int i=0; i<k; ++i) sum=sum*num[i]*6;
^
0_0_20986782_27354.cpp:28:34: error: lvalue required as unary '&' operand
for(int i=0; i<k; ++i) sum=sum*num[i]*6;
^
0_0_20986782_27354.cpp:28:38: error: expected ';' before ')' token
for(int i=0; i<k; ++i) sum=sum*num[i]*6;
^
|