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_39118384_30286.cpp:4:7: error: stray '\243' in program
    4 | int cx<a3><bb>
      |       ^~~~
0_0_39118384_30286.cpp:4:8: error: stray '\273' in program
    4 | int cx<a3><bb>
      |           ^~~~
0_0_39118384_30286.cpp:5:7: error: stray '\243' in program
    5 | int cy<a3><bb>
      |       ^~~~
0_0_39118384_30286.cpp:5:8: error: stray '\273' in program
    5 | int cy<a3><bb>
      |           ^~~~
0_0_39118384_30286.cpp:5:1: error: expected initializer before 'int'
    5 | int cyŁ»
      | ^~~
0_0_39118384_30286.cpp: In function 'void dfs(int, int, int)':
0_0_39118384_30286.cpp:17:15: error: 'cx' was not declared in this scope; did you mean 'x'?
   17 |         if(x==cx && y==cy ) {
      |               ^~
      |               x
0_0_39118384_30286.cpp:17:24: error: 'cy' was not declared in this scope; did you mean 'y'?
   17 |         if(x==cx && y==cy ) {
      |                        ^~
      |                        y
0_0_39118384_30286.cpp:19:17: error: 'flag2' was not declared in this scope
   19 |                 flag2 = true;
      |                 ^~~~~
0_0_39118384_30286.cpp: In function 'void bfs()':
0_0_39118384_30286.cpp:46:25: error: 'flag1' was not declared in this scope
   46 |                         flag1 = true;
      |                         ^~~~~
0_0_39118384_30286.cpp:54:33: error: 'cx' was not declared in this scope; did you mean 'x'?
   54 |                                 cx = nex;
      |                                 ^~
      |                                 x
0_0_39118384_30286.cpp:55:33: error: 'cy' was not declared in this scope; did you mean 'y'?
   55 |                                 cy = ney-2;
      |                                 ^~
      |                                 y
0_0_39118384_30286.cpp:58:33: error: 'cx' was not declared in this scope; did you mean 'x'?
   58 |                                 cx = nex-2;
      |                                 ^~
      |                                 x
0_0_39118384_30286.cpp:59:33: error: 'cy' was not declared in this scope; did you mean 'y'?
   59 |                                 cy = ney;
      |                                 ^~
      |                                 y
0_0_39118384_30286.cpp:62:33: error: 'cx' was not declared in this scope; did you mean 'x'?
   62 |                                 cx = nex;
      |                                 ^~
      |                                 x
0_0_39118384_30286.cpp:63:33: error: 'cy' was not declared in this scope; did you mean 'y'?
   63 |                                 cy = ney+2;
      |                                 ^~
      |                                 y
0_0_39118384_30286.cpp:66:33: error: 'cx' was not declared in this scope; did you mean 'x'?
   66 |                                 cx = nex+2;
      |                                 ^~
      |                                 x
0_0_39118384_30286.cpp:67:33: error: 'cy' was not declared in this scope; did you mean 'y'?
   67 |                                 cy = ney;
      |                                 ^~
      |                                 y
0_0_39118384_30286.cpp:69:29: error: 'cx' was not declared in this scope; did you mean 'x'?
   69 |                         dfs(cx, cy, 0);
      |                             ^~
      |                             x
0_0_39118384_30286.cpp:69:33: error: 'cy' was not declared in this scope; did you mean 'y'?
   69 |                         dfs(cx, cy, 0);
      |                                 ^~
      |                                 y
0_0_39118384_30286.cpp:70:28: error: 'flag2' was not declared in this scope
   70 |                         if(flag2){
      |                            ^~~~~
0_0_39118384_30286.cpp:74:93: error: 'flag2' was not declared in this scope
   74 |                         if(mp[nex][ney]==0&&vis[nex][ney]==0&&nex>=0&&nex<m&&ney>=0&&ney<n&&flag2&&cx>=0&&cx<m&&cy>=0&&cy<n){
      |                                                                                             ^~~~~
0_0_39118384_30286.cpp: In function 'int main()':
0_0_39118384_30286.cpp:116:21: error: 'flag1' was not declared in this scope
  116 |                 if(!flag1){
      |                     ^~~~~


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-29 21:51:53, Gzip enabled