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_21593746_2356.cpp:22:24: error: stray '#' in program
     if (cMap[x][y] == '0')
                        ^
0_0_21593746_2356.cpp:22:30: error: stray '#' in program
     if (cMap[x][y] == '0')
                              ^
0_0_21593746_2356.cpp:26:35: error: stray '#' in program
     int numOfStep = cMap[x][y] - '0';   //当前位置可以跳几个格子
                                   ^
0_0_21593746_2356.cpp:26:41: error: stray '#' in program
     int numOfStep = cMap[x][y] - '0';   //当前位置可以跳几个格子
                                         ^
0_0_21593746_2356.cpp: In function 'long long int dfs(int, int)':
0_0_21593746_2356.cpp:22:25: error: lvalue required as unary '&' operand
     if (cMap[x][y] == '0')
                         ^
0_0_21593746_2356.cpp:22:27: error: expected ')' before ';' token
     if (cMap[x][y] == '0')
                           ^
0_0_21593746_2356.cpp:22:34: error: expected primary-expression before ')' token
     if (cMap[x][y] == '0')
                                  ^
0_0_21593746_2356.cpp:26:36: error: lvalue required as unary '&' operand
     int numOfStep = cMap[x][y] - '0';   //当前位置可以跳几个格子
                                    ^


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-12-02 13:55:14, Gzip enabled