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_14241855_29055.cpp: In function 'int main()':
0_0_14241855_29055.cpp:51:51: error: expected ']' before '}' token
               if(mp[i][j]=='S'){ x1=i; y11=j;vis[i}[j]=1;
                                                   ^
0_0_14241855_29055.cpp:51:51: error: expected ';' before '}' token
0_0_14241855_29055.cpp: In lambda function:
0_0_14241855_29055.cpp:51:55: error: expected '{' before '=' token
               if(mp[i][j]=='S'){ x1=i; y11=j;vis[i}[j]=1;
                                                       ^
0_0_14241855_29055.cpp: In function 'int main()':
0_0_14241855_29055.cpp:51:55: error: no match for 'operator=' (operand types are 'main()::<lambda()>' and 'int')
0_0_14241855_29055.cpp:51:55: note: candidate is:
0_0_14241855_29055.cpp:51:54: note: main()::<lambda()>& main()::<lambda()>::operator=(const main()::<lambda()>&) <deleted>
               if(mp[i][j]=='S'){ x1=i; y11=j;vis[i}[j]=1;
                                                      ^
0_0_14241855_29055.cpp:51:54: note:   no known conversion for argument 1 from 'int' to 'const main()::<lambda()>&'
0_0_14241855_29055.cpp:52:12: error: 'else' without a previous 'if'
            else if(mp[i][j]=='D'){x2=i;y2=j;vis[i][j]=0;}
            ^
0_0_14241855_29055.cpp:53:45: error: expected ';' before numeric constant
             else if(mp[i][j]=='.'){vis[i][j]01;}
                                             ^


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-18 18:41:19, Gzip enabled