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_39138882_27452.cpp:195:11: error: redefinition of 'const int N'
  195 | const int N = 28;
      |           ^
0_0_39138882_27452.cpp:12:11: note: 'const int N' previously defined here
   12 | const int N = 28;
      |           ^
0_0_39138882_27452.cpp:197:8: error: redefinition of 'struct point'
  197 | struct point{
      |        ^~~~~
0_0_39138882_27452.cpp:14:8: note: previous definition of 'struct point'
   14 | struct point{
      |        ^~~~~
0_0_39138882_27452.cpp:207:8: error: redefinition of 'struct node'
  207 | struct node{
      |        ^~~~
0_0_39138882_27452.cpp:24:8: note: previous definition of 'struct node'
   24 | struct node{
      |        ^~~~
0_0_39138882_27452.cpp:210:2: error: conflicting declaration 'int st'
  210 | }st, ed;
      |  ^~
0_0_39138882_27452.cpp:27:2: note: previous declaration as 'node st'
   27 | }st, ed;
      |  ^~
0_0_39138882_27452.cpp:210:6: error: conflicting declaration 'int ed'
  210 | }st, ed;
      |      ^~
0_0_39138882_27452.cpp:27:6: note: previous declaration as 'node ed'
   27 | }st, ed;
      |      ^~
0_0_39138882_27452.cpp:212:6: error: redefinition of 'char vis [64][64][64][64]'
  212 | char vis[64][64][64][64] = {'0'};
      |      ^~~
0_0_39138882_27452.cpp:29:6: note: 'char vis [64][64][64][64]' previously defined here
   29 | char vis[64][64][64][64] = {'0'};
      |      ^~~
0_0_39138882_27452.cpp:213:5: error: redefinition of 'int get(point)'
  213 | int get(point a){
      |     ^~~
0_0_39138882_27452.cpp:30:5: note: 'int get(point)' previously defined here
   30 | int get(point a){
      |     ^~~
0_0_39138882_27452.cpp:217:6: error: redefinition of 'void set_vis(node, char)'
  217 | void set_vis(node n, char c){
      |      ^~~~~~~
0_0_39138882_27452.cpp:34:6: note: 'void set_vis(node, char)' previously defined here
   34 | void set_vis(node n, char c){
      |      ^~~~~~~
0_0_39138882_27452.cpp:222:6: error: redefinition of 'char get_vis(node)'
  222 | char get_vis(node n){
      |      ^~~~~~~
0_0_39138882_27452.cpp:39:6: note: 'char get_vis(node)' previously defined here
   39 | char get_vis(node n){
      |      ^~~~~~~
0_0_39138882_27452.cpp:227:5: error: redefinition of 'int dir [4][2]'
  227 | int dir[4][2] = {{1, 0}, {-1, 0}, {0, 1}, {0, -1}};
      |     ^~~
0_0_39138882_27452.cpp:44:5: note: 'int dir [4][2]' previously defined here
   44 | int dir[4][2] = {{1, 0}, {-1, 0}, {0, 1}, {0, -1}};
      |     ^~~
0_0_39138882_27452.cpp:229:5: error: redefinition of 'int g [10][10]'
  229 | int g[10][10];
      |     ^
0_0_39138882_27452.cpp:46:5: note: 'int g [10][10]' previously declared here
   46 | int g[10][10];
      |     ^
0_0_39138882_27452.cpp:231:6: error: redefinition of 'void set_g(node)'
  231 | void set_g(node n){
      |      ^~~~~
0_0_39138882_27452.cpp:48:6: note: 'void set_g(node)' previously defined here
   48 | void set_g(node n){
      |      ^~~~~
0_0_39138882_27452.cpp:237:6: error: redefinition of 'bool jump(point)'
  237 | bool jump(point p){
      |      ^~~~
0_0_39138882_27452.cpp:54:6: note: 'bool jump(point)' previously defined here
   54 | bool jump(point p){
      |      ^~~~
0_0_39138882_27452.cpp:244:6: error: redefinition of 'bool bfs()'
  244 | bool bfs(){
      |      ^~~
0_0_39138882_27452.cpp:61:6: note: 'bool bfs()' previously defined here
   61 | bool bfs(){
      |      ^~~
0_0_39138882_27452.cpp:342:5: error: redefinition of 'int main()'
  342 | int main(){
      |     ^~~~
0_0_39138882_27452.cpp:159:5: note: 'int main()' previously defined here
  159 | int main(){
      |     ^~~~


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-25 15:19:35, Gzip enabled