0_0_22236033_32498.c:1:9: error: #include expects "FILENAME" or <FILENAME>
#include <stdio.h>
^
0_0_22236033_32498.c:2:1: error: expected identifier or '(' before '&' token
^
0_0_22236033_32498.c:2:2: error: stray '#' in program
^
0_0_22236033_32498.c:3:4: error: expected identifier or '(' before '&' token
int main()
^
0_0_22236033_32498.c:3:5: error: stray '#' in program
int main()
^
0_0_22236033_32498.c: In function 'main':
0_0_22236033_32498.c:5:2: error: stray '#' in program
int n;
^
0_0_22236033_32498.c:5:1: error: lvalue required as unary '&' operand
int n;
^
0_0_22236033_32498.c:5:8: error: stray '#' in program
int n;
^
0_0_22236033_32498.c:5:7: error: lvalue required as unary '&' operand
int n;
^
0_0_22236033_32498.c:5:14: error: stray '#' in program
int n;
^
0_0_22236033_32498.c:5:13: error: lvalue required as unary '&' operand
int n;
^
0_0_22236033_32498.c:5:20: error: stray '#' in program
int n;
^
0_0_22236033_32498.c:5:19: error: lvalue required as unary '&' operand
int n;
^
0_0_22236033_32498.c:5:28: error: expected identifier or '(' before '&' token
int n;
^
0_0_22236033_32498.c:5:29: error: stray '#' in program
int n;
^
0_0_22236033_32498.c:5:34: error: 'n' undeclared (first use in this function)
int n;
^
0_0_22236033_32498.c:5:34: note: each undeclared identifier is reported only once for each function it appears in
0_0_22236033_32498.c:6:2: error: stray '#' in program
while(scanf("%d",&n)!=EOF)
^
0_0_22236033_32498.c:6:1: error: lvalue required as unary '&' operand
while(scanf("%d",&n)!=EOF)
^
0_0_22236033_32498.c:6:8: error: stray '#' in program
while(scanf("%d",&n)!=EOF)
^
0_0_22236033_32498.c:6:7: error: lvalue required as unary '&' operand
while(scanf("%d",&n)!=EOF)
^
0_0_22236033_32498.c:6:14: error: stray '#' in program
while(scanf("%d",&n)!=EOF)
^
0_0_22236033_32498.c:6:13: error: lvalue required as unary '&' operand
while(scanf("%d",&n)!=EOF)
^
0_0_22236033_32498.c:6:20: error: stray '#' in program
while(scanf("%d",&n)!=EOF)
^
0_0_22236033_32498.c:6:19: error: lvalue required as unary '&' operand
while(scanf("%d",&n)!=EOF)
^
0_0_22236033_32498.c:6:47: error: 'EOF' undeclared (first use in this function)
while(scanf("%d",&n)!=EOF)
^
0_0_22236033_32498.c:7:2: error: stray '#' in program
{
^
0_0_22236033_32498.c:7:1: error: lvalue required as unary '&' operand
{
^
0_0_22236033_32498.c:7:8: error: stray '#' in program
{
^
0_0_22236033_32498.c:7:7: error: lvalue required as unary '&' operand
{
^
0_0_22236033_32498.c:7:14: error: stray '#' in program
{
^
0_0_22236033_32498.c:7:13: error: lvalue required as unary '&' operand
{
^
0_0_22236033_32498.c:7:20: error: stray '#' in program
{
^
0_0_22236033_32498.c:7:19: error: lvalue required as unary '&' operand
{
^
0_0_22236033_32498.c:8:2: error: stray '#' in program
if(n%2==0)
^
0_0_22236033_32498.c:8:1: error: lvalue required as unary '&' operand
if(n%2==0)
^
0_0_22236033_32498.c:8:8: error: stray '#' in program
if(n%2==0)
^
0_0_22236033_32498.c:8:7: error: lvalue required as unary '&' operand
if(n%2==0)
^
0_0_22236033_32498.c:8:14: error: stray '#' in program
if(n%2==0)
^
0_0_22236033_32498.c:8:13: error: lvalue required as unary '&' operand
if(n%2==0)
^
0_0_22236033_32498.c:8:20: error: stray '#' in program
if(n%2==0)
^
0_0_22236033_32498.c:8:19: error: lvalue required as unary '&' operand
if(n%2==0)
^
0_0_22236033_32498.c:8:26: error: stray '#' in program
if(n%2==0)
^
0_0_22236033_32498.c:8:25: error: lvalue required as unary '&' operand
if(n%2==0)
^
0_0_22236033_32498.c:8:32: error: stray '#' in program
if(n%2==0)
^
0_0_22236033_32498.c:8:31: error: lvalue required as unary '&' operand
if(n%2==0)
^
0_0_22236033_32498.c:8:38: error: stray '#' in program
if(n%2==0)
^
0_0_22236033_32498.c:8:37: error: lvalue required as unary '&' operand
if(n%2==0)
^
0_0_22236033_32498.c:8:44: error: stray '#' in program
if(n%2==0)
^
0_0_22236033_32498.c:8:43: error: lvalue required as unary '&' operand
if(n%2==0)
^
0_0_22236033_32498.c:9:2: error: stray '#' in program
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:1: error: lvalue required as unary '&' operand
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:8: error: stray '#' in program
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:7: error: lvalue required as unary '&' operand
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:14: error: stray '#' in program
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:13: error: lvalue required as unary '&' operand
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:20: error: stray '#' in program
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:19: error: lvalue required as unary '&' operand
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:26: error: stray '#' in program
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:25: error: lvalue required as unary '&' operand
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:32: error: stray '#' in program
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:31: error: lvalue required as unary '&' operand
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:38: error: stray '#' in program
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:37: error: lvalue required as unary '&' operand
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:44: error: stray '#' in program
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:43: error: lvalue required as unary '&' operand
printf("%d\n\n",n/2*(n+1));
^
0_0_22236033_32498.c:9:50: error: stray '#' in program
printf("%d\n\n",n/2*(n+1));
|