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_33534582_30259.cpp:92:11: error: redefinition of 'const int MOD'
 const int MOD=1000000009;
           ^
0_0_33534582_30259.cpp:9:11: note: 'const int MOD' previously defined here
 const int MOD=1000000009;
           ^
0_0_33534582_30259.cpp:93:11: error: redefinition of 'const int INV2'
 const int INV2=500000005;
           ^
0_0_33534582_30259.cpp:10:11: note: 'const int INV2' previously defined here
 const int INV2=500000005;
           ^
0_0_33534582_30259.cpp:94:11: error: redefinition of 'const int SQRT5'
 const int SQRT5=383008016;
           ^
0_0_33534582_30259.cpp:11:11: note: 'const int SQRT5' previously defined here
 const int SQRT5=383008016;
           ^
0_0_33534582_30259.cpp:95:11: error: redefinition of 'const int INVSQRT5'
 const int INVSQRT5=276601605;
           ^
0_0_33534582_30259.cpp:12:11: note: 'const int INVSQRT5' previously defined here
 const int INVSQRT5=276601605;
           ^
0_0_33534582_30259.cpp:96:11: error: redefinition of 'const int A'
 const int A=691504013;
           ^
0_0_33534582_30259.cpp:13:11: note: 'const int A' previously defined here
 const int A=691504013;
           ^
0_0_33534582_30259.cpp:97:11: error: redefinition of 'const int B'
 const int B=308495997;
           ^
0_0_33534582_30259.cpp:14:11: note: 'const int B' previously defined here
 const int B=308495997;
           ^
0_0_33534582_30259.cpp:99:4: error: redefinition of 'long long int AA'
 ll AA,BB,powSQRT;
    ^
0_0_33534582_30259.cpp:16:4: note: 'long long int AA' previously declared here
 ll AA,BB,powSQRT;
    ^
0_0_33534582_30259.cpp:99:7: error: redefinition of 'long long int BB'
 ll AA,BB,powSQRT;
       ^
0_0_33534582_30259.cpp:16:7: note: 'long long int BB' previously declared here
 ll AA,BB,powSQRT;
       ^
0_0_33534582_30259.cpp:99:10: error: redefinition of 'long long int powSQRT'
 ll AA,BB,powSQRT;
          ^
0_0_33534582_30259.cpp:16:10: note: 'long long int powSQRT' previously declared here
 ll AA,BB,powSQRT;
          ^
0_0_33534582_30259.cpp:101:12: error: redefinition of 'long long int fac [100005]'
 ll fac[MAXN],inv[MAXN],pa[MAXN],pb[MAXN];
            ^
0_0_33534582_30259.cpp:17:4: note: 'long long int fac [100005]' previously declared here
 ll fac[MAXN],inv[MAXN],pa[MAXN],pb[MAXN];
    ^
0_0_33534582_30259.cpp:101:22: error: redefinition of 'long long int inv [100005]'
 ll fac[MAXN],inv[MAXN],pa[MAXN],pb[MAXN];
                      ^
0_0_33534582_30259.cpp:17:14: note: 'long long int inv [100005]' previously declared here
 ll fac[MAXN],inv[MAXN],pa[MAXN],pb[MAXN];
              ^
0_0_33534582_30259.cpp:101:31: error: redefinition of 'long long int pa [100005]'
 ll fac[MAXN],inv[MAXN],pa[MAXN],pb[MAXN];
                               ^
0_0_33534582_30259.cpp:17:24: note: 'long long int pa [100005]' previously declared here
 ll fac[MAXN],inv[MAXN],pa[MAXN],pb[MAXN];
                        ^
0_0_33534582_30259.cpp:101:40: error: redefinition of 'long long int pb [100005]'
 ll fac[MAXN],inv[MAXN],pa[MAXN],pb[MAXN];
                                        ^
0_0_33534582_30259.cpp:17:33: note: 'long long int pb [100005]' previously declared here
 ll fac[MAXN],inv[MAXN],pa[MAXN],pb[MAXN];
                                 ^
0_0_33534582_30259.cpp: In function 'int read()':
0_0_33534582_30259.cpp:103:12: error: redefinition of 'int read()'
 inline int read()
            ^
0_0_33534582_30259.cpp:19:12: note: 'int read()' previously defined here
 inline int read()
            ^
0_0_33534582_30259.cpp: In function 'long long int qpow(long long int, long long int, long long int)':
0_0_33534582_30259.cpp:113:11: error: redefinition of 'long long int qpow(long long int, long long int, long long int)'
 inline ll qpow(ll a, ll n, ll MOD) {
           ^
0_0_33534582_30259.cpp:28:11: note: 'long long int qpow(long long int, long long int, long long int)' previously defined here
 inline ll qpow(ll a, ll n, ll MOD) {
           ^
0_0_33534582_30259.cpp: In function 'long long int Inv(long long int)':
0_0_33534582_30259.cpp:123:11: error: redefinition of 'long long int Inv(long long int)'
 inline ll Inv(ll x){
           ^
0_0_33534582_30259.cpp:38:11: note: 'long long int Inv(long long int)' previously defined here
 inline ll Inv(ll x){
           ^
0_0_33534582_30259.cpp: In function 'int init()':
0_0_33534582_30259.cpp:127:5: error: redefinition of 'int init()'
 int init(){
     ^
0_0_33534582_30259.cpp:42:12: note: 'int init()' previously defined here
 inline int init(){
            ^
0_0_33534582_30259.cpp: In function 'long long int C(int, int)':
0_0_33534582_30259.cpp:138:4: error: redefinition of 'long long int C(int, int)'
 ll C(int r,int k){
    ^
0_0_33534582_30259.cpp:58:11: note: 'long long int C(int, int)' previously defined here
 inline ll C(int r,int k){
           ^
0_0_33534582_30259.cpp: In function 'int main()':
0_0_33534582_30259.cpp:144:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_33534582_30259.cpp:64: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-26 14:36:40, Gzip enabled