0_0_33113985_12415.cpp:24:17: error: stray '#' in program
sum+=(num*fac[9−i−1]);
^
0_0_33113985_12415.cpp:24:25: error: stray '#' in program
sum+=(num*fac[9−i−1]);
^
0_0_33113985_12415.cpp:33:20: error: stray '#' in program
int move[4][2]={{−1,0},{1,0},{0,−1},{0,1}};//u,d,l,r
^
0_0_33113985_12415.cpp:33:41: error: stray '#' in program
int move[4][2]={{−1,0},{1,0},{0,−1},{0,1}};//u,d,l,r
^
0_0_33113985_12415.cpp:74:19: error: stray '#' in program
else cur.s[0]=ch−'0';
^
0_0_33113985_12415.cpp:81:19: error: stray '#' in program
else cur.s[i]=ch−'0';
^
0_0_33113985_12415.cpp: In function 'int cantor(int*)':
0_0_33113985_12415.cpp:24:22: error: expected ']' before ';' token
sum+=(num*fac[9−i−1]);
^
0_0_33113985_12415.cpp:24:22: error: expected ')' before ';' token
0_0_33113985_12415.cpp:24:32: error: expected ';' before ']' token
sum+=(num*fac[9−i−1]);
^
0_0_33113985_12415.cpp: At global scope:
0_0_33113985_12415.cpp:33:21: error: lvalue required as unary '&' operand
int move[4][2]={{−1,0},{1,0},{0,−1},{0,1}};//u,d,l,r
^
0_0_33113985_12415.cpp:33:25: error: expected '}' before ';' token
int move[4][2]={{−1,0},{1,0},{0,−1},{0,1}};//u,d,l,r
^
0_0_33113985_12415.cpp:33:25: error: expected '}' before ';' token
0_0_33113985_12415.cpp:33:26: error: expected unqualified-id before numeric constant
int move[4][2]={{−1,0},{1,0},{0,−1},{0,1}};//u,d,l,r
^
0_0_33113985_12415.cpp:33:29: error: expected declaration before '}' token
int move[4][2]={{−1,0},{1,0},{0,−1},{0,1}};//u,d,l,r
^
|