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_24091032_4396.cpp:57:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_24091032_4396.cpp:57:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_24091032_4396.cpp:60:11: error: redefinition of 'const int Maxn'
 const int Maxn=9;
           ^
0_0_24091032_4396.cpp:4:11: note: 'const int Maxn' previously defined here
 const int Maxn=9;
           ^
0_0_24091032_4396.cpp:61:11: error: redefinition of 'const int Maxd'
 const int Maxd=Maxn/3;
           ^
0_0_24091032_4396.cpp:5:11: note: 'const int Maxd' previously defined here
 const int Maxd=Maxn/3;
           ^
0_0_24091032_4396.cpp:62:5: error: redefinition of 'int t'
 int t;
     ^
0_0_24091032_4396.cpp:6:5: note: 'int t' previously declared here
 int t;
     ^
0_0_24091032_4396.cpp:63:13: error: redefinition of 'int row [9]'
 int row[Maxn],col[Maxn],eye[Maxd][Maxd];
             ^
0_0_24091032_4396.cpp:7:5: note: 'int row [9]' previously declared here
 int row[Maxn],col[Maxn],eye[Maxd][Maxd];
     ^
0_0_24091032_4396.cpp:63:23: error: redefinition of 'int col [9]'
 int row[Maxn],col[Maxn],eye[Maxd][Maxd];
                       ^
0_0_24091032_4396.cpp:7:15: note: 'int col [9]' previously declared here
 int row[Maxn],col[Maxn],eye[Maxd][Maxd];
               ^
0_0_24091032_4396.cpp:63:39: error: redefinition of 'int eye [3][3]'
 int row[Maxn],col[Maxn],eye[Maxd][Maxd];
                                       ^
0_0_24091032_4396.cpp:7:25: note: 'int eye [3][3]' previously declared here
 int row[Maxn],col[Maxn],eye[Maxd][Maxd];
                         ^
0_0_24091032_4396.cpp:64:12: error: redefinition of 'std::vector<std::pair<int, int> > seq'
 vector<ii> seq;
            ^
0_0_24091032_4396.cpp:8:12: note: 'std::vector<std::pair<int, int> > seq' previously declared here
 vector<ii> seq;
            ^
0_0_24091032_4396.cpp:65:6: error: redefinition of 'bool ok'
 bool ok;
      ^
0_0_24091032_4396.cpp:9:6: note: 'bool ok' previously declared here
 bool ok;
      ^
0_0_24091032_4396.cpp:66:18: error: redefinition of 'char b [9][9]'
 char b[Maxn][Maxn];
                  ^
0_0_24091032_4396.cpp:10:6: note: 'char b [9][9]' previously declared here
 char b[Maxn][Maxn];
      ^
0_0_24091032_4396.cpp: In function 'bool canset(int, int, int)':
0_0_24091032_4396.cpp:67:6: error: redefinition of 'bool canset(int, int, int)'
 bool canset(int r,int c,int num){
      ^
0_0_24091032_4396.cpp:11:6: note: 'bool canset(int, int, int)' previously defined here
 bool canset(int r,int c,int num){
      ^
0_0_24091032_4396.cpp: In function 'void Switch(int, int, int)':
0_0_24091032_4396.cpp:70:6: error: redefinition of 'void Switch(int, int, int)'
 void Switch(int r,int c,int num){
      ^
0_0_24091032_4396.cpp:14:6: note: 'void Switch(int, int, int)' previously defined here
 void Switch(int r,int c,int num){
      ^
0_0_24091032_4396.cpp: In function 'void print()':
0_0_24091032_4396.cpp:75:6: error: redefinition of 'void print()'
 void print(){
      ^
0_0_24091032_4396.cpp:19:6: note: 'void print()' previously defined here
 void print(){
      ^
0_0_24091032_4396.cpp: In function 'void gen(int)':
0_0_24091032_4396.cpp:83:6: error: redefinition of 'void gen(int)'
 void gen(int lvl){
      ^
0_0_24091032_4396.cpp:27:6: note: 'void gen(int)' previously defined here
 void gen(int lvl){
      ^
0_0_24091032_4396.cpp: In function 'int main()':
0_0_24091032_4396.cpp:93:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_24091032_4396.cpp:37:5: note: 'int main()' previously defined here
 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-29 18:36:19, Gzip enabled