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_28434577_18683.cpp: In function 'void dfs(int, int, int)':
0_0_28434577_18683.cpp:15:30: error: 'steo' was not declared in this scope
  if (sx == ex && sy == ey && steo == t)
                              ^
0_0_28434577_18683.cpp:15:38: error: 't' was not declared in this scope
  if (sx == ex && sy == ey && steo == t)
                                      ^
0_0_28434577_18683.cpp:20:12: error: 't' was not declared in this scope
  int tem = t - step - abs(ex - sx) - abs(ey - sy);//core!!!
            ^
0_0_28434577_18683.cpp:29:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if (map[dx][dy] != "X"&&visit[dx][dy] == 0)
                      ^
0_0_28434577_18683.cpp: In function 'int main()':
0_0_28434577_18683.cpp:45:39: error: 't' was not declared in this scope
  while (~scanf_s("%d %d %d", &n, &m, &t))
                                       ^
0_0_28434577_18683.cpp:45:40: error: 'scanf_s' was not declared in this scope
  while (~scanf_s("%d %d %d", &n, &m, &t))
                                        ^


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-10-06 14:52:47, Gzip enabled