F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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
                             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-25 19:29:56, Gzip enabled