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_39078977_15625.cpp: In function 'void dfs(int, int, int)':
0_0_39078977_15625.cpp:32:50: error: 'am' was not declared in this scope; did you mean 'tm'?
   32 |                 if(xx > 0 && xx <= n && yy > 0 &&am
      |                                                  ^~
      |                                                  tm
0_0_39078977_15625.cpp:32:52: error: expected ')' at end of input
   32 |                 if(xx > 0 && xx <= n && yy > 0 &&am
      |                   ~                                ^
      |                                                    )
0_0_39078977_15625.cpp:32:52: error: expected statement at end of input
0_0_39078977_15625.cpp:32:52: error: expected '}' at end of input
0_0_39078977_15625.cpp:28:31: note: to match this '{'
   28 |         for(int i = 0;i<4;i++){
      |                               ^
0_0_39078977_15625.cpp:32:52: error: expected '}' at end of input
   32 |                 if(xx > 0 && xx <= n && yy > 0 &&am
      |                                                    ^
0_0_39078977_15625.cpp:13:31: note: to match this '{'
   13 | void dfs(int x,int y,int time){
      |                               ^


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-01 16:32:34, Gzip enabled