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_15094100_14672.cpp:136:16: error: redefinition of 'char a [205][205]'
 char a[205][205];
                ^
0_0_15094100_14672.cpp:3:6: note: 'char a [205][205]' previously declared here
 char a[205][205];
      ^
0_0_15094100_14672.cpp:137:15: error: redefinition of 'int b [205][205]'
 int b[205][205];
               ^
0_0_15094100_14672.cpp:4:5: note: 'int b [205][205]' previously declared here
 int b[205][205];
     ^
0_0_15094100_14672.cpp:138:18: error: redefinition of 'std::pair<int, int> f [20]'
 pair<int,int>f[20];
                  ^
0_0_15094100_14672.cpp:5:14: note: 'std::pair<int, int> f [20]' previously declared here
 pair<int,int>f[20];
              ^
0_0_15094100_14672.cpp:139:5: error: redefinition of 'int n'
 int n,m;
     ^
0_0_15094100_14672.cpp:6:5: note: 'int n' previously declared here
 int n,m;
     ^
0_0_15094100_14672.cpp:139:7: error: redefinition of 'int m'
 int n,m;
       ^
0_0_15094100_14672.cpp:6:7: note: 'int m' previously declared here
 int n,m;
       ^
0_0_15094100_14672.cpp:140:5: error: redefinition of 'int num'
 int num;
     ^
0_0_15094100_14672.cpp:7:5: note: 'int num' previously declared here
 int num;
     ^
0_0_15094100_14672.cpp:141:5: error: redefinition of 'int x'
 int x=0;
     ^
0_0_15094100_14672.cpp:8:5: note: 'int x' previously defined here
 int x=0;
     ^
0_0_15094100_14672.cpp:142:12: error: redefinition of 'std::vector<int> q'
 vector<int>q;
            ^
0_0_15094100_14672.cpp:9:12: note: 'std::vector<int> q' previously declared here
 vector<int>q;
            ^
0_0_15094100_14672.cpp: In function 'int solve1(int)':
0_0_15094100_14672.cpp:143:5: error: redefinition of 'int solve1(int)'
 int solve1(int o){
     ^
0_0_15094100_14672.cpp:10:5: note: 'int solve1(int)' previously defined here
 int solve1(int o){
     ^
0_0_15094100_14672.cpp: In function 'int solve2(int, int)':
0_0_15094100_14672.cpp:161:5: error: redefinition of 'int solve2(int, int)'
 int solve2(int o,int sum){
     ^
0_0_15094100_14672.cpp:28:5: note: 'int solve2(int, int)' previously defined here
 int solve2(int o,int sum){
     ^
0_0_15094100_14672.cpp: In function 'int solve(int)':
0_0_15094100_14672.cpp:202:5: error: redefinition of 'int solve(int)'
 int solve(int sum){
     ^
0_0_15094100_14672.cpp:69:5: note: 'int solve(int)' previously defined here
 int solve(int sum){
     ^
0_0_15094100_14672.cpp: In function 'int gs(int)':
0_0_15094100_14672.cpp:217:5: error: redefinition of 'int gs(int)'
 int gs(int sum){
     ^
0_0_15094100_14672.cpp:84:5: note: 'int gs(int)' previously defined here
 int gs(int sum){
     ^
0_0_15094100_14672.cpp: In function 'int main()':
0_0_15094100_14672.cpp:224:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_15094100_14672.cpp:91:5: note: 'int main()' previously defined here
 int main(){
     ^
0_0_15094100_14672.cpp: At global scope:
0_0_15094100_14672.cpp:269:16: error: redefinition of 'char a [205][205]'
 char a[205][205];
                ^
0_0_15094100_14672.cpp:3:6: note: 'char a [205][205]' previously declared here
 char a[205][205];
      ^
0_0_15094100_14672.cpp:270:15: error: redefinition of 'int b [205][205]'
 int b[205][205];
               ^
0_0_15094100_14672.cpp:4:5: note: 'int b [205][205]' previously declared here
 int b[205][205];
     ^
0_0_15094100_14672.cpp:271:18: error: redefinition of 'std::pair<int, int> f [20]'
 pair<int,int>f[20];
                  ^
0_0_15094100_14672.cpp:5:14: note: 'std::pair<int, int> f [20]' previously declared here
 pair<int,int>f[20];
              ^
0_0_15094100_14672.cpp:272:5: error: redefinition of 'int n'
 int n,m;
     ^
0_0_15094100_14672.cpp:6:5: note: 'int n' previously declared here
 int n,m;
     ^
0_0_15094100_14672.cpp:272:7: error: redefinition of 'int m'
 int n,m;
       ^
0_0_15094100_14672.cpp:6:7: note: 'int m' previously declared here
 int n,m;
       ^
0_0_15094100_14672.cpp:273:5: error: redefinition of 'int num'
 int num;
     ^
0_0_15094100_14672.cpp:7:5: note: 'int num' previously declared here
 int num;
     ^
0_0_15094100_14672.cpp:274:5: error: redefinition of 'int x'
 int x=0;
     ^
0_0_15094100_14672.cpp:8:5: note: 'int x' previously defined here
 int x=0;
     ^
0_0_15094100_14672.cpp:275:12: error: redefinition of 'std::vector<int> q'
 vector<int>q;
            ^
0_0_15094100_14672.cpp:9:12: note: 'std::vector<int> q' previously declared here
 vector<int>q;
            ^
0_0_15094100_14672.cpp: In function 'int solve1(int)':
0_0_15094100_14672.cpp:276:5: error: redefinition of 'int solve1(int)'
 int solve1(int o){
     ^
0_0_15094100_14672.cpp:10:5: note: 'int solve1(int)' previously defined here
 int solve1(int o){
     ^
0_0_15094100_14672.cpp: In function 'int solve2(int, int)':
0_0_15094100_14672.cpp:294:5: error: redefinition of 'int solve2(int, int)'
 int solve2(int o,int sum){
     ^
0_0_15094100_14672.cpp:28:5: note: 'int solve2(int, int)' previously defined here
 int solve2(int o,int sum){
     ^
0_0_15094100_14672.cpp: In function 'int solve(int)':
0_0_15094100_14672.cpp:335:5: error: redefinition of 'int solve(int)'
 int solve(int sum){
     ^
0_0_15094100_14672.cpp:69:5: note: 'int solve(int)' previously defined here
 int solve(int sum){
     ^
0_0_15094100_14672.cpp: In function 'int gs(int)':
0_0_15094100_14672.cpp:350:5: error: redefinition of 'int gs(int)'
 int gs(int sum){
     ^
0_0_15094100_14672.cpp:84:5: note: 'int gs(int)' previously defined here
 int gs(int sum){
     ^
0_0_15094100_14672.cpp: In function 'int main()':
0_0_15094100_14672.cpp:357:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_15094100_14672.cpp:91: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-07-07 08:13:42, Gzip enabled