0_0_21598545_10363.cpp:34:14: error: stray '#' in program
char ch=' ';
^
0_0_21598545_10363.cpp:34:20: error: stray '#' in program
char ch=' ';
^
0_0_21598545_10363.cpp:36:15: error: stray '#' in program
while(ch<'0' || ch>'9')ch=getchar();
^
0_0_21598545_10363.cpp:36:21: error: stray '#' in program
while(ch<'0' || ch>'9')ch=getchar();
^
0_0_21598545_10363.cpp:36:33: error: stray '#' in program
while(ch<'0' || ch>'9')ch=getchar();
^
0_0_21598545_10363.cpp:36:39: error: stray '#' in program
while(ch<'0' || ch>'9')ch=getchar();
^
0_0_21598545_10363.cpp:37:16: error: stray '#' in program
while(ch<='9' && ch>='0')
^
0_0_21598545_10363.cpp:37:22: error: stray '#' in program
while(ch<='9' && ch>='0')
^
0_0_21598545_10363.cpp:37:35: error: stray '#' in program
while(ch<='9' && ch>='0')
^
0_0_21598545_10363.cpp:37:41: error: stray '#' in program
while(ch<='9' && ch>='0')
^
0_0_21598545_10363.cpp:39:24: error: stray '#' in program
ans=ans*10+ch-'0';
^
0_0_21598545_10363.cpp:39:30: error: stray '#' in program
ans=ans*10+ch-'0';
^
0_0_21598545_10363.cpp:145:24: error: stray '#' in program
if(op[0]=='L')
^
0_0_21598545_10363.cpp:145:30: error: stray '#' in program
if(op[0]=='L')
^
0_0_21598545_10363.cpp:147:29: error: stray '#' in program
else if(op[0]=='R')
^
0_0_21598545_10363.cpp:147:35: error: stray '#' in program
else if(op[0]=='R')
^
0_0_21598545_10363.cpp:149:29: error: stray '#' in program
else if(op[0]=='U')
^
0_0_21598545_10363.cpp:149:35: error: stray '#' in program
else if(op[0]=='U')
^
0_0_21598545_10363.cpp:151:29: error: stray '#' in program
else if(op[0]=='D')
^
0_0_21598545_10363.cpp:151:35: error: stray '#' in program
else if(op[0]=='D')
^
0_0_21598545_10363.cpp: In function 'int read()':
0_0_21598545_10363.cpp:34:15: error: lvalue required as unary '&' operand
char ch=' ';
^
0_0_21598545_10363.cpp:34:21: error: lvalue required as unary '&' operand
char ch=' ';
^
0_0_21598545_10363.cpp:36:16: error: lvalue required as unary '&' operand
while(ch<'0' || ch>'9')ch=getchar();
^
0_0_21598545_10363.cpp:36:18: error: expected ')' before ';' token
while(ch<'0' || ch>'9')ch=getchar();
^
0_0_21598545_10363.cpp:36:26: error: expected primary-expression before '||' token
while(ch<'0' || ch>'9')ch=getchar();
^
0_0_21598545_10363.cpp:36:34: error: lvalue required as unary '&' operand
while(ch<'0' || ch>'9')ch=getchar();
^
0_0_21598545_10363.cpp:36:43: error: expected primary-expression before ')' token
while(ch<'0' || ch>'9')ch=getchar();
^
0_0_21598545_10363.cpp:37:17: error: lvalue required as unary '&' operand
while(ch<='9' && ch>='0')
^
0_0_21598545_10363.cpp:37:19: error: expected ')' before ';' token
while(ch<='9' && ch>='0')
^
0_0_21598545_10363.cpp:37:36: error: lvalue required as unary '&' operand
while(ch<='9' && ch>='0')
^
0_0_21598545_10363.cpp:37:45: error: expected primary-expression before ')' token
while(ch<='9' && ch>='0')
^
0_0_21598545_10363.cpp:37:30: error: label 'ch' used but not defined
while(ch<='9' && ch>='0')
^
0_0_21598545_10363.cpp: In function 'int main()':
0_0_21598545_10363.cpp:145:25: error: lvalue required as unary '&' operand
if(op[0]=='L')
^
0_0_21598545_10363.cpp:145:27: error: expected ')' before ';' token
if(op[0]=='L')
^
0_0_21598545_10363.cpp:145:28: error: 'L' was not declared in this scope
if(op[0]=='L')
^
0_0_21598545_10363.cpp:145:34: error: expected primary-expression before ')' token
if(op[0]=='L')
^
0_0_21598545_10363.cpp:147:13: error: 'else' without a previous 'if'
else if(op[0]=='R')
^
0_0_21598545_10363.cpp:147:30: error: lvalue required as unary '&' operand
else if(op[0]=='R')
^
0_0_21598545_10363.cpp:147:32: error: expected ')' before ';' token
else if(op[0]=='R')
^
0_0_21598545_10363.cpp:147:33: error: 'R' was not declared in this scope
else if(op[0]=='R')
^
0_0_21598545_10363.cpp:147:39: error: expected primary-expression before ')' token
else if(op[0]=='R')
^
0_0_21598545_10363.cpp:149:13: error: 'else' without a previous 'if'
else if(op[0]=='U')
^
0_0_21598545_10363.cpp:149:30: error: lvalue required as unary '&' operand
else if(op[0]=='U')
^
0_0_21598545_10363.cpp:149:32: error: expected ')' before ';' token
else if(op[0]=='U')
^
0_0_21598545_10363.cpp:149:33: error: 'U' was not declared in this scope
else if(op[0]=='U')
^
0_0_21598545_10363.cpp:149:39: error: expected primary-expression before ')' token
else if(op[0]=='U')
^
0_0_21598545_10363.cpp:151:13: error: 'else' without a previous 'if'
else if(op[0]=='D')
^
0_0_21598545_10363.cpp:151:30: error: lvalue required as unary '&' operand
else if(op[0]=='D')
^
0_0_21598545_10363.cpp:151:32: error: expected ')' before ';' token
else if(op[0]=='D')
^
0_0_21598545_10363.cpp:151:33: error: 'D' was not declared in this scope
else if(op[0]=='D')
^
0_0_21598545_10363.cpp:151:39: error: expected primary-expression before ')' token
else if(op[0]=='D')
^
|