0_0_31906094_1185.cpp:5:19: error: stray '#' in program
__int64 a[20000];
^
0_0_31906094_1185.cpp:8:2: error: stray '#' in program
memset(a,0,sizeof(a));
^
0_0_31906094_1185.cpp:9:2: error: stray '#' in program
int n,ca;
^
0_0_31906094_1185.cpp:10:2: error: stray '#' in program
ca=1;
^
0_0_31906094_1185.cpp:10:8: error: stray '#' in program
ca=1;
^
0_0_31906094_1185.cpp:10:14: error: stray '#' in program
ca=1;
^
0_0_31906094_1185.cpp:10:20: error: stray '#' in program
ca=1;
^
0_0_31906094_1185.cpp:10:26: error: stray '#' in program
ca=1;
^
0_0_31906094_1185.cpp:11:2: error: stray '#' in program
while(scanf("%d",&n)&&(n!=-1))
^
0_0_31906094_1185.cpp:11:8: error: stray '#' in program
while(scanf("%d",&n)&&(n!=-1))
^
0_0_31906094_1185.cpp:11:14: error: stray '#' in program
while(scanf("%d",&n)&&(n!=-1))
^
0_0_31906094_1185.cpp:11:20: error: stray '#' in program
while(scanf("%d",&n)&&(n!=-1))
^
0_0_31906094_1185.cpp:12:2: error: stray '#' in program
{
^
0_0_31906094_1185.cpp:13:2: error: stray '#' in program
__int64 sum;
^
0_0_31906094_1185.cpp:13:8: error: stray '#' in program
__int64 sum;
^
0_0_31906094_1185.cpp:13:14: error: stray '#' in program
__int64 sum;
^
0_0_31906094_1185.cpp:14:2: error: stray '#' in program
int i;
^
0_0_31906094_1185.cpp:14:8: error: stray '#' in program
int i;
^
0_0_31906094_1185.cpp:14:14: error: stray '#' in program
int i;
^
0_0_31906094_1185.cpp:15:2: error: stray '#' in program
for(i=0,sum=0;i<n;i++)
^
0_0_31906094_1185.cpp:15:8: error: stray '#' in program
for(i=0,sum=0;i<n;i++)
^
0_0_31906094_1185.cpp:15:14: error: stray '#' in program
for(i=0,sum=0;i<n;i++)
^
0_0_31906094_1185.cpp:16:2: error: stray '#' in program
{
^
0_0_31906094_1185.cpp:16:8: error: stray '#' in program
{
^
0_0_31906094_1185.cpp:16:14: error: stray '#' in program
{
^
0_0_31906094_1185.cpp:16:20: error: stray '#' in program
{
^
0_0_31906094_1185.cpp:16:26: error: stray '#' in program
{
^
0_0_31906094_1185.cpp:16:32: error: stray '#' in program
{
^
0_0_31906094_1185.cpp:16:38: error: stray '#' in program
{
^
0_0_31906094_1185.cpp:17:2: error: stray '#' in program
scanf("%I64d",&a[i]);
^
0_0_31906094_1185.cpp:17:8: error: stray '#' in program
scanf("%I64d",&a[i]);
^
0_0_31906094_1185.cpp:17:14: error: stray '#' in program
scanf("%I64d",&a[i]);
^
0_0_31906094_1185.cpp:17:20: error: stray '#' in program
scanf("%I64d",&a[i]);
^
0_0_31906094_1185.cpp:17:26: error: stray '#' in program
scanf("%I64d",&a[i]);
^
0_0_31906094_1185.cpp:17:32: error: stray '#' in program
scanf("%I64d",&a[i]);
^
0_0_31906094_1185.cpp:17:38: error: stray '#' in program
scanf("%I64d",&a[i]);
^
0_0_31906094_1185.cpp:17:45: error: stray '#' in program
scanf("%I64d",&a[i]);
^
0_0_31906094_1185.cpp:18:2: error: stray '#' in program
sum+=a[i];
^
0_0_31906094_1185.cpp:18:8: error: stray '#' in program
sum+=a[i];
^
0_0_31906094_1185.cpp:18:14: error: stray '#' in program
sum+=a[i];
^
0_0_31906094_1185.cpp:18:20: error: stray '#' in program
sum+=a[i];
^
0_0_31906094_1185.cpp:18:26: error: stray '#' in program
sum+=a[i];
^
0_0_31906094_1185.cpp:18:32: error: stray '#' in program
sum+=a[i];
^
0_0_31906094_1185.cpp:18:38: error: stray '#' in program
sum+=a[i];
^
0_0_31906094_1185.cpp:18:45: error: stray '#' in program
sum+=a[i];
^
0_0_31906094_1185.cpp:19:2: error: stray '#' in program
}
^
0_0_31906094_1185.cpp:19:8: error: stray '#' in program
}
^
0_0_31906094_1185.cpp:19:14: error: stray '#' in program
}
^
0_0_31906094_1185.cpp:19:20: error: stray '#' in program
}
^
0_0_31906094_1185.cpp:19:26: error: stray '#' in program
}
^
0_0_31906094_1185.cpp:19:32: error: stray '#' in program
}
^
0_0_31906094_1185.cpp:19:38: error: stray '#' in program
}
^
0_0_31906094_1185.cpp:20:2: error: stray '#' in program
printf("Sum of #%d is %I64d\n",ca,sum);
^
0_0_31906094_1185.cpp:20:8: error: stray '#' in program
printf("Sum of #%d is %I64d\n",ca,sum);
^
0_0_31906094_1185.cpp:20:14: error: stray '#' in program
printf("Sum of #%d is %I64d\n",ca,sum);
^
0_0_31906094_1185.cpp:20:20: error: stray '#' in program
printf("Sum of #%d is %I64d\n",ca,sum);
^
0_0_31906094_1185.cpp:20:26: error: stray '#' in program
printf("Sum of #%d is %I64d\n",ca,sum);
^
0_0_31906094_1185.cpp:20:33: error: stray '#' in program
printf("Sum of #%d is %I64d\n",ca,sum);
^
0_0_31906094_1185.cpp:21:2: error: stray '#' in program
ca++;
^
0_0_31906094_1185.cpp:21:8: error: stray '#' in program
ca++;
^
0_0_31906094_1185.cpp:22:2: error: stray '#' in program
}
^
0_0_31906094_1185.cpp:23:2: error: stray '#' in program
system("pause");
^
0_0_31906094_1185.cpp:24:2: error: stray '#' in program
return 0;
^
0_0_31906094_1185.cpp:5:20: error: expected unqualified-id before numeric constant
__int64 a[20000];
^
0_0_31906094_1185.cpp:5:20: error: expected constructor, destructor, or type conversion before numeric constant
0_0_31906094_1185.cpp: In function 'int main()':
0_0_31906094_1185.cpp:8:3: error: lvalue required as unary '&' operand
memset(a,0,sizeof(a));
^
0_0_31906094_1185.cpp:9:3: error: lvalue required as unary '&' operand
int n,ca;
^
0_0_31906094_1185.cpp:10:3: error: lvalue required as unary '&' operand
ca=1;
^
0_0_31906094_1185.cpp:10:9: error: lvalue required as unary '&' operand
ca=1;
^
0_0_31906094_1185.cpp:10:15: error: lvalue required as unary '&' operand
ca=1;
^
0_0_31906094_1185.cpp:10:21: error: lvalue required as unary '&' operand
ca=1;
^
0_0_31906094_1185.cpp:10:27: error: lvalue required as unary '&' operand
ca=1;
^
0_0_31906094_1185.cpp:11:3: error: lvalue required as unary '&' operand
while(scanf("%d",&n)&&(n!=-1))
^
0_0_31906094_1185.cpp:11:9: error: lvalue required as unary '&' operand
while(scanf("%d",&n)&&(n!=-1))
^
0_0_31906094_1185.cpp:11:15: error: lvalue required as unary '&' operand
while(scanf("%d",&n)&&(n!=-1))
^
0_0_31906094_1185.cpp:11:21: error: lvalue required as unary '&' operand
while(scanf
|