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_20538128_25400.cpp:139:15: error: redefinition of 'bool hash [4000]'
 bool hash[4000]={0},flag,have[1000];
               ^
0_0_20538128_25400.cpp:5:6: note: 'bool hash [4000]' previously defined here
 bool hash[4000]={0},flag,have[1000];
      ^
0_0_20538128_25400.cpp:139:21: error: redefinition of 'bool flag'
 bool hash[4000]={0},flag,have[1000];
                     ^
0_0_20538128_25400.cpp:5:21: note: 'bool flag' previously declared here
 bool hash[4000]={0},flag,have[1000];
                     ^
0_0_20538128_25400.cpp:139:35: error: redefinition of 'bool have [1000]'
 bool hash[4000]={0},flag,have[1000];
                                   ^
0_0_20538128_25400.cpp:5:26: note: 'bool have [1000]' previously declared here
 bool hash[4000]={0},flag,have[1000];
                          ^
0_0_20538128_25400.cpp:140:15: error: redefinition of 'int prime [5000]'
 int prime[5000],top,icase=0;
               ^
0_0_20538128_25400.cpp:6:5: note: 'int prime [5000]' previously declared here
 int prime[5000],top,icase=0;
     ^
0_0_20538128_25400.cpp:140:17: error: redefinition of 'int top'
 int prime[5000],top,icase=0;
                 ^
0_0_20538128_25400.cpp:6:17: note: 'int top' previously declared here
 int prime[5000],top,icase=0;
                 ^
0_0_20538128_25400.cpp:140:21: error: redefinition of 'int icase'
 int prime[5000],top,icase=0;
                     ^
0_0_20538128_25400.cpp:6:21: note: 'int icase' previously defined here
 int prime[5000],top,icase=0;
                     ^
0_0_20538128_25400.cpp:141:15: error: redefinition of 'long long int f [1000]'
 __int64 f[1000],top1,w[1000],top2,q,p;
               ^
0_0_20538128_25400.cpp:7:9: note: 'long long int f [1000]' previously declared here
 __int64 f[1000],top1,w[1000],top2,q,p;
         ^
0_0_20538128_25400.cpp:141:17: error: redefinition of 'long long int top1'
 __int64 f[1000],top1,w[1000],top2,q,p;
                 ^
0_0_20538128_25400.cpp:7:17: note: 'long long int top1' previously declared here
 __int64 f[1000],top1,w[1000],top2,q,p;
                 ^
0_0_20538128_25400.cpp:141:28: error: redefinition of 'long long int w [1000]'
 __int64 f[1000],top1,w[1000],top2,q,p;
                            ^
0_0_20538128_25400.cpp:7:22: note: 'long long int w [1000]' previously declared here
 __int64 f[1000],top1,w[1000],top2,q,p;
                      ^
0_0_20538128_25400.cpp:141:30: error: redefinition of 'long long int top2'
 __int64 f[1000],top1,w[1000],top2,q,p;
                              ^
0_0_20538128_25400.cpp:7:30: note: 'long long int top2' previously declared here
 __int64 f[1000],top1,w[1000],top2,q,p;
                              ^
0_0_20538128_25400.cpp:141:35: error: redefinition of 'long long int q'
 __int64 f[1000],top1,w[1000],top2,q,p;
                                   ^
0_0_20538128_25400.cpp:7:35: note: 'long long int q' previously declared here
 __int64 f[1000],top1,w[1000],top2,q,p;
                                   ^
0_0_20538128_25400.cpp:141:37: error: redefinition of 'long long int p'
 __int64 f[1000],top1,w[1000],top2,q,p;
                                     ^
0_0_20538128_25400.cpp:7:37: note: 'long long int p' previously declared here
 __int64 f[1000],top1,w[1000],top2,q,p;
                                     ^
0_0_20538128_25400.cpp: In function 'long long int bang(long long int, int)':
0_0_20538128_25400.cpp:142:9: error: redefinition of 'long long int bang(long long int, int)'
 __int64 bang(__int64 a,int b)
         ^
0_0_20538128_25400.cpp:8:9: note: 'long long int bang(long long int, int)' previously defined here
 __int64 bang(__int64 a,int b)
         ^
0_0_20538128_25400.cpp: In function 'long long unsigned int pro(long long unsigned int, long long unsigned int, long long unsigned int)':
0_0_20538128_25400.cpp:150:18: error: redefinition of 'long long unsigned int pro(long long unsigned int, long long unsigned int, long long unsigned int)'
 unsigned __int64 pro(unsigned __int64 x,unsigned __int64 y,unsigned __int64 n)
                  ^
0_0_20538128_25400.cpp:16:18: note: 'long long unsigned int pro(long long unsigned int, long long unsigned int, long long unsigned int)' previously defined here
 unsigned __int64 pro(unsigned __int64 x,unsigned __int64 y,unsigned __int64 n)
                  ^
0_0_20538128_25400.cpp: In function 'long long int phi(long long int)':
0_0_20538128_25400.cpp:171:9: error: redefinition of 'long long int phi(long long int)'
 __int64 phi(__int64 res)
         ^
0_0_20538128_25400.cpp:37:9: note: 'long long int phi(long long int)' previously defined here
 __int64 phi(__int64 res)
         ^
0_0_20538128_25400.cpp: In function 'long long int mod(long long int, long long int, long long int)':
0_0_20538128_25400.cpp:192:9: error: redefinition of 'long long int mod(long long int, long long int, long long int)'
 __int64 mod(__int64 a,__int64 b,__int64 m)
         ^
0_0_20538128_25400.cpp:58:9: note: 'long long int mod(long long int, long long int, long long int)' previously defined here
 __int64 mod(__int64 a,__int64 b,__int64 m)
         ^
0_0_20538128_25400.cpp: In function 'void solve()':
0_0_20538128_25400.cpp:208:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_20538128_25400.cpp:74:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_20538128_25400.cpp: In function 'int main()':
0_0_20538128_25400.cpp:224:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_20538128_25400.cpp:90: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-23 10:27:38, Gzip enabled