0_0_18990960_29935.cpp:6:2: error: stray '#' in program
char str1[20],str2[20];
^
0_0_18990960_29935.cpp:7:2: error: stray '#' in program
while(scanf("%s%s",&str1,&str2)!=EOF)
^
0_0_18990960_29935.cpp:8:2: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:9:2: error: stray '#' in program
long long a=0,b=0;
^
0_0_18990960_29935.cpp:9:8: error: stray '#' in program
long long a=0,b=0;
^
0_0_18990960_29935.cpp:10:2: error: stray '#' in program
int i;
^
0_0_18990960_29935.cpp:10:8: error: stray '#' in program
int i;
^
0_0_18990960_29935.cpp:11:2: error: stray '#' in program
for(i=0;i<strlen(str1);i++)
^
0_0_18990960_29935.cpp:11:8: error: stray '#' in program
for(i=0;i<strlen(str1);i++)
^
0_0_18990960_29935.cpp:12:2: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:12:8: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:13:2: error: stray '#' in program
if(str1[i]>='0'&&str1[i]<='9')
^
0_0_18990960_29935.cpp:13:8: error: stray '#' in program
if(str1[i]>='0'&&str1[i]<='9')
^
0_0_18990960_29935.cpp:13:14: error: stray '#' in program
if(str1[i]>='0'&&str1[i]<='9')
^
0_0_18990960_29935.cpp:14:2: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:14:8: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:14:14: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:15:2: error: stray '#' in program
a=a*10+(str1[i]-'0');
^
0_0_18990960_29935.cpp:15:8: error: stray '#' in program
a=a*10+(str1[i]-'0');
^
0_0_18990960_29935.cpp:15:14: error: stray '#' in program
a=a*10+(str1[i]-'0');
^
0_0_18990960_29935.cpp:15:20: error: stray '#' in program
a=a*10+(str1[i]-'0');
^
0_0_18990960_29935.cpp:16:2: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:16:8: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:16:14: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:17:2: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:17:8: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:18:2: error: stray '#' in program
if(str1[0]=='-')
^
0_0_18990960_29935.cpp:18:8: error: stray '#' in program
if(str1[0]=='-')
^
0_0_18990960_29935.cpp:19:2: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:19:8: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:20:2: error: stray '#' in program
a=-a;
^
0_0_18990960_29935.cpp:20:8: error: stray '#' in program
a=-a;
^
0_0_18990960_29935.cpp:20:14: error: stray '#' in program
a=-a;
^
0_0_18990960_29935.cpp:21:2: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:21:8: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:22:2: error: stray '#' in program
for(i=0;i<strlen(str2);i++)
^
0_0_18990960_29935.cpp:22:8: error: stray '#' in program
for(i=0;i<strlen(str2);i++)
^
0_0_18990960_29935.cpp:23:2: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:23:8: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:24:2: error: stray '#' in program
if(str2[i]>='0'&&str2[i]<='9')
^
0_0_18990960_29935.cpp:24:8: error: stray '#' in program
if(str2[i]>='0'&&str2[i]<='9')
^
0_0_18990960_29935.cpp:24:14: error: stray '#' in program
if(str2[i]>='0'&&str2[i]<='9')
^
0_0_18990960_29935.cpp:25:2: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:25:8: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:25:14: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:26:2: error: stray '#' in program
b=b*10+(str2[i]-'0');
^
0_0_18990960_29935.cpp:26:8: error: stray '#' in program
b=b*10+(str2[i]-'0');
^
0_0_18990960_29935.cpp:26:14: error: stray '#' in program
b=b*10+(str2[i]-'0');
^
0_0_18990960_29935.cpp:26:20: error: stray '#' in program
b=b*10+(str2[i]-'0');
^
0_0_18990960_29935.cpp:27:2: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:27:8: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:27:14: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:28:2: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:28:8: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:29:2: error: stray '#' in program
if(str2[0]=='-')
^
0_0_18990960_29935.cpp:29:8: error: stray '#' in program
if(str2[0]=='-')
^
0_0_18990960_29935.cpp:30:2: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:30:8: error: stray '#' in program
{
^
0_0_18990960_29935.cpp:31:2: error: stray '#' in program
b=-b;
^
0_0_18990960_29935.cpp:31:8: error: stray '#' in program
b=-b;
^
0_0_18990960_29935.cpp:31:14: error: stray '#' in program
b=-b;
^
0_0_18990960_29935.cpp:32:2: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:32:8: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:33:2: error: stray '#' in program
printf("%lld\n",a+b);
^
0_0_18990960_29935.cpp:33:8: error: stray '#' in program
printf("%lld\n",a+b);
^
0_0_18990960_29935.cpp:34:2: error: stray '#' in program
}
^
0_0_18990960_29935.cpp:35:2: error: stray '#' in program
return 0;
^
0_0_18990960_29935.cpp: In function 'int main()':
0_0_18990960_29935.cpp:6:3: error: lvalue required as unary '&' operand
char str1[20],str2[20];
^
0_0_18990960_29935.cpp:7:3: error: lvalue required as unary '&' operand
while(scanf("%s%s",&str1,&str2)!=EOF)
^
0_0_18990960_29935.cpp:8:3: error: lvalue required as unary '&' operand
{
^
0_0_18990960_29935.cpp:9:3: error: lvalue required as unary '&' operand
long long a=0,b=0;
^
0_0_18990960_29935.cpp:9:9: error: lvalue required as unary '&' operand
long long a=0,b=0;
^
0_0_18990960_29935.cpp:10:3: error: lvalue required as unary '&' operand
int i;
^
0_0_18990960_29935.cpp:10:9: error: lvalue required as unary '&' operand
int i;
^
0_0_18990960_29935.cpp:11:3: error: lvalue required as unary '&' operand
for(i=0;i<strlen(str1);i++)
^
0_0_18990960_29935.cpp:11:9: error: lvalue required as unary '&' operand
for(i=0;i<strlen(str1);i++)
^
0_0_18990960_29935.cpp:12:3: error: lvalue required as unary '&' operand
{
^
0_0_18990960_29935.cpp:12:9: error: lvalue required as unary '&' operand
{
^
0_0_18990960_29935.cpp:13:3: error: lvalue required as unary '&' operand
if(str1[i]>='0'&&str1[i]<='9')
^
0_0_18990960_29935.cpp:13:9: error: lvalue required as unary '&' operand
if(str1[i]>='0'&&str1[i]<='9')
^
0_0_18990960_29935.cpp:13:15: error: lvalue required as unary '&' operand
if(str1[i]>='0'&&str1[i]<='9')
^
0_0_18990960_29935.cpp:14:3: error: lvalue required as unary '&' operand
{
^
0_0_18990960_29935.cpp:14:9: error: lvalue required as unary '&' operand
{
^
0_0_18990960_29935.cpp:14:15: error: lvalue required as unary '&' operand
{
^
0_0_18990960_29935.cpp:15:3: error: lvalue required as unary '&' operand
a=a*10+(str1[i]-'0');
^
0_0_18990960_29935.cpp:15:9: error: lvalue required as unary '&' operand
a=a*10+(str1[i]-'0');
^
0_0_18990960_29935.cpp:15:15: error: lvalue required as unary '&' operand
a=a*10+(str1[i]-'0');
^
0_0_18990960_29935.cpp:15:21: error: lvalue required as unary '&' operand
a=a*10+(str1[i]-'0');
^
0_0_18990960_29935.cpp:16:3: error: lvalue required as unary '&' operand
}
^
0_0_18990960_29935.cpp:16:9: error: lvalue required as unary '&' operand
}
^
0_0_18990960_29935.cpp:16:15: error: lvalue required as unary '&' operand
}
^
0_0_18990960_29935.cpp:17:3: error: lvalue required as unary '&' operand
}
^
0_0_18990960_29935.cpp:17:9: e
|