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_16021371_7049.cpp: In function 'bool dfs(int, int, int)':
0_0_16021371_7049.cpp:11:39: error: invalid types 'int[int]' for array subscript
     if(z!=len+1&&a[x]==c[z]&&!vis[x][y]){//应标记为二维,如果标记为一维,则会出现回溯到很前面的情况,有一些标记没有还愿,会wa
                                       ^
0_0_16021371_7049.cpp:12:17: error: invalid types 'int[int]' for array subscript
         vis[x][y]=1;
                 ^
0_0_16021371_7049.cpp:17:21: error: invalid types 'int[int]' for array subscript
             vis[x][y]=0;
                     ^
0_0_16021371_7049.cpp:20:39: error: invalid types 'int[int]' for array subscript
     if(z!=len+1&&b[y]==c[z]&&!vis[x][y]){
                                       ^
0_0_16021371_7049.cpp:21:17: error: invalid types 'int[int]' for array subscript
         vis[x][y]=1;
                 ^


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-02 08:41:42, Gzip enabled