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_14654432_22014.cpp: In function 'void dfs(int, int)':
0_0_14654432_22014.cpp:13:22: error: expected primary-expression before ']' token
         int tx = x + ]dx[i], ty = y + dy[i];
                      ^
0_0_14654432_22014.cpp:14:28: error: 'n' was not declared in this scope
         if(tx >= 0 && tx < n && ty >= 0 && ty < m && !vis[tx][ty]){
                            ^
0_0_14654432_22014.cpp:14:33: error: 'ty' was not declared in this scope
         if(tx >= 0 && tx < n && ty >= 0 && ty < m && !vis[tx][ty]){
                                 ^
0_0_14654432_22014.cpp:14:49: error: 'm' was not declared in this scope
         if(tx >= 0 && tx < n && ty >= 0 && ty < m && !vis[tx][ty]){
                                                 ^
0_0_14654432_22014.cpp: In function 'void solve()':
0_0_14654432_22014.cpp:25:33: error: 'memset' was not declared in this scope
         memset(dp, 0, sizeof(dp));
                                 ^
0_0_14654432_22014.cpp:43:21: error: expected primary-expression before '}' token
                     }
                     ^


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-22 16:47:27, Gzip enabled