0_0_31223423_4333.cpp:4:2: error: stray '#' in program
int n,i,sum=0;
^
0_0_31223423_4333.cpp:4:9: error: stray '#' in program
int n,i,sum=0;
^
0_0_31223423_4333.cpp:5:2: error: stray '#' in program
while(~scanf("%d",&n))
^
0_0_31223423_4333.cpp:5:9: error: stray '#' in program
while(~scanf("%d",&n))
^
0_0_31223423_4333.cpp:7:2: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_31223423_4333.cpp:7:9: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_31223423_4333.cpp:7:16: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_31223423_4333.cpp:7:23: error: stray '#' in program
for(i=0;i<n;i++)
^
0_0_31223423_4333.cpp:9:2: error: stray '#' in program
sum+=i;
^
0_0_31223423_4333.cpp:9:9: error: stray '#' in program
sum+=i;
^
0_0_31223423_4333.cpp:9:16: error: stray '#' in program
sum+=i;
^
0_0_31223423_4333.cpp:9:23: error: stray '#' in program
sum+=i;
^
0_0_31223423_4333.cpp:9:30: error: stray '#' in program
sum+=i;
^
0_0_31223423_4333.cpp:9:37: error: stray '#' in program
sum+=i;
^
0_0_31223423_4333.cpp:10:2: error: stray '#' in program
}
^
0_0_31223423_4333.cpp:10:9: error: stray '#' in program
}
^
0_0_31223423_4333.cpp:10:16: error: stray '#' in program
}
^
0_0_31223423_4333.cpp:10:23: error: stray '#' in program
}
^
0_0_31223423_4333.cpp:11:2: error: stray '#' in program
printf("%d",sum);
^
0_0_31223423_4333.cpp:11:9: error: stray '#' in program
printf("%d",sum);
^
0_0_31223423_4333.cpp:11:16: error: stray '#' in program
printf("%d",sum);
^
0_0_31223423_4333.cpp:11:23: error: stray '#' in program
printf("%d",sum);
^
0_0_31223423_4333.cpp:12:2: error: stray '#' in program
}
^
0_0_31223423_4333.cpp:12:9: error: stray '#' in program
}
^
0_0_31223423_4333.cpp:13:2: error: stray '#' in program
return 0;
^
0_0_31223423_4333.cpp:13:9: error: stray '#' in program
return 0;
^
0_0_31223423_4333.cpp: In function 'int main()':
0_0_31223423_4333.cpp:4:3: error: lvalue required as unary '&' operand
int n,i,sum=0;
^
0_0_31223423_4333.cpp:4:10: error: lvalue required as unary '&' operand
int n,i,sum=0;
^
0_0_31223423_4333.cpp:5:3: error: lvalue required as unary '&' operand
while(~scanf("%d",&n))
^
0_0_31223423_4333.cpp:5:10: error: lvalue required as unary '&' operand
while(~scanf("%d",&n))
^
0_0_31223423_4333.cpp:7:3: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_31223423_4333.cpp:7:10: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_31223423_4333.cpp:7:17: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_31223423_4333.cpp:7:24: error: lvalue required as unary '&' operand
for(i=0;i<n;i++)
^
0_0_31223423_4333.cpp:9:3: error: lvalue required as unary '&' operand
sum+=i;
^
0_0_31223423_4333.cpp:9:10: error: lvalue required as unary '&' operand
sum+=i;
^
0_0_31223423_4333.cpp:9:17: error: lvalue required as unary '&' operand
sum+=i;
^
0_0_31223423_4333.cpp:9:24: error: lvalue required as unary '&' operand
sum+=i;
^
0_0_31223423_4333.cpp:9:31: error: lvalue required as unary '&' operand
sum+=i;
^
0_0_31223423_4333.cpp:9:38: error: lvalue required as unary '&' operand
sum+=i;
^
0_0_31223423_4333.cpp:10:3: error: lvalue required as unary '&' operand
}
^
0_0_31223423_4333.cpp:10:10: error: lvalue required as unary '&' operand
}
^
0_0_31223423_4333.cpp:10:17: error: lvalue required as unary '&' operand
}
^
0_0_31223423_4333.cpp:10:24: error: lvalue required as unary '&' operand
}
^
0_0_31223423_4333.cpp:11:3: error: lvalue required as unary '&' operand
printf("%d",sum);
^
0_0_31223423_4333.cpp:11:10: error: lvalue required as unary '&' operand
printf("%d",sum);
^
0_0_31223423_4333.cpp:11:17: error: lvalue required as unary '&' operand
printf("%d",sum);
^
0_0_31223423_4333.cpp:11:24: error: lvalue required as unary '&' operand
printf("%d",sum);
^
0_0_31223423_4333.cpp:12:3: error: lvalue required as unary '&' operand
}
^
0_0_31223423_4333.cpp:12:10: error: lvalue required as unary '&' operand
}
^
0_0_31223423_4333.cpp:13:3: error: lvalue required as unary '&' operand
return 0;
^
0_0_31223423_4333.cpp:13:10: error: lvalue required as unary '&' operand
return 0;
^
|