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_17465410_10299.cpp:62:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_17465410_10299.cpp:62:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_17465410_10299.cpp:66:10: error: redefinition of 'const LL M'
 const LL M=(1<<18)-1,N=1e5+7,sqr=1e4;
          ^
0_0_17465410_10299.cpp:5:10: note: 'const LL M' previously defined here
 const LL M=(1<<18)-1,N=1e5+7,sqr=1e4;
          ^
0_0_17465410_10299.cpp:66:22: error: redefinition of 'const LL N'
 const LL M=(1<<18)-1,N=1e5+7,sqr=1e4;
                      ^
0_0_17465410_10299.cpp:5:22: note: 'const LL N' previously defined here
 const LL M=(1<<18)-1,N=1e5+7,sqr=1e4;
                      ^
0_0_17465410_10299.cpp:66:30: error: redefinition of 'const LL sqr'
 const LL M=(1<<18)-1,N=1e5+7,sqr=1e4;
                              ^
0_0_17465410_10299.cpp:5:30: note: 'const LL sqr' previously defined here
 const LL M=(1<<18)-1,N=1e5+7,sqr=1e4;
                              ^
0_0_17465410_10299.cpp:67:4: error: redefinition of 'LL K'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
    ^
0_0_17465410_10299.cpp:6:4: note: 'LL K' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
    ^
0_0_17465410_10299.cpp:67:6: error: redefinition of 'LL a'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
      ^
0_0_17465410_10299.cpp:6:6: note: 'LL a' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
      ^
0_0_17465410_10299.cpp:67:8: error: redefinition of 'LL b'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
        ^
0_0_17465410_10299.cpp:6:8: note: 'LL b' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
        ^
0_0_17465410_10299.cpp:67:10: error: redefinition of 'LL ahd'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
          ^
0_0_17465410_10299.cpp:6:10: note: 'LL ahd' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
          ^
0_0_17465410_10299.cpp:67:14: error: redefinition of 'LL bhd'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
              ^
0_0_17465410_10299.cpp:6:14: note: 'LL bhd' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
              ^
0_0_17465410_10299.cpp:67:18: error: redefinition of 'LL bt'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                  ^
0_0_17465410_10299.cpp:6:18: note: 'LL bt' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                  ^
0_0_17465410_10299.cpp:67:21: error: redefinition of 'LL at'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                     ^
0_0_17465410_10299.cpp:6:21: note: 'LL at' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                     ^
0_0_17465410_10299.cpp:67:24: error: redefinition of 'LL reta'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                        ^
0_0_17465410_10299.cpp:6:24: note: 'LL reta' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                        ^
0_0_17465410_10299.cpp:67:29: error: redefinition of 'LL retb'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                             ^
0_0_17465410_10299.cpp:6:29: note: 'LL retb' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                             ^
0_0_17465410_10299.cpp:67:34: error: redefinition of 'LL T'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                                  ^
0_0_17465410_10299.cpp:6:34: note: 'LL T' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                                  ^
0_0_17465410_10299.cpp:67:36: error: redefinition of 'LL S'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                                    ^
0_0_17465410_10299.cpp:6:36: note: 'LL S' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                                    ^
0_0_17465410_10299.cpp:67:47: error: redefinition of 'LL dt [10][16]'
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                                               ^
0_0_17465410_10299.cpp:6:38: note: 'LL dt [10][16]' previously declared here
 LL K,a,b,ahd,bhd,bt,at,reta,retb,T,S,dt[10][16];
                                      ^
0_0_17465410_10299.cpp: In function 'LL pow(LL, LL)':
0_0_17465410_10299.cpp:68:11: error: redefinition of 'LL pow(LL, LL)'
 inline LL pow(LL x,LL k){
           ^
0_0_17465410_10299.cpp:7:11: note: 'LL pow(LL, LL)' previously defined here
 inline LL pow(LL x,LL k){
           ^
0_0_17465410_10299.cpp: At global scope:
0_0_17465410_10299.cpp:77:8: error: redefinition of 'struct E'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
        ^
0_0_17465410_10299.cpp:16:8: error: previous definition of 'struct E'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
        ^
0_0_17465410_10299.cpp:77:39: error: invalid type in declaration before ',' token
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                       ^
0_0_17465410_10299.cpp:77:39: error: conflicting declaration 'int* g [262144]'
0_0_17465410_10299.cpp:16:33: note: previous declaration as 'E* g [262144]'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                 ^
0_0_17465410_10299.cpp:77:46: error: conflicting declaration 'int pool [100007]'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                              ^
0_0_17465410_10299.cpp:16:40: note: previous declaration as 'E pool [100007]'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                        ^
0_0_17465410_10299.cpp:77:49: error: conflicting declaration 'int* cur'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                                 ^
0_0_17465410_10299.cpp:16:49: note: previous declaration as 'E* cur'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                                 ^
0_0_17465410_10299.cpp:77:59: error: conflicting declaration 'int* p'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                                           ^
0_0_17465410_10299.cpp:16:59: note: previous declaration as 'E* p'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                                           ^
0_0_17465410_10299.cpp:77:71: error: redefinition of 'LL vis [262144]'
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                                                       ^
0_0_17465410_10299.cpp:16:64: note: 'LL vis [262144]' previously declared here
 struct E{LL key;LL cnt;E *nxt;}*g[M+1],pool[N],*cur=pool,*p;LL vis[M+1];
                                                                ^
0_0_17465410_10299.cpp: In function 'void init_Hash()':
0_0_17465410_10299.cpp:78:6: error: redefinition of 'void init_Hash()'
 void init_Hash(){T++,cur=pool;}
      ^
0_0_17465410_10299.cpp:17:6: note: 'void init_Hash()' previously defined here
 void init_Hash(){T++,cur=pool;}
      ^
0_0_17465410_10299.cpp: In function 'void ins(LL)':
0_0_17465410_10299.cpp:79:13: error: redefinition of 'void ins(LL)'
 inline void ins(LL key){
             ^
0_0_17465410_10299.cpp:18:13: note: 'void ins(LL)' previously defined here
 inline void ins(LL key){
             ^
0_0_17465410_10299.cpp: In function 'LL ask(LL)':
0_0_17465410_10299.cpp:87:11: error: redefinition of 'LL ask(LL)'
 inline LL ask(LL key){
           ^
0_0_17465410_10299.cpp:26:11: note: 'LL ask(LL)' previously defined here
 inline LL ask(LL key){
           ^
0_0_17465410_10299.cpp: In function 'LL cal(LL)':
0_0_17465410_10299.cpp:95:11: error: redefinition of 'LL cal(LL)'
 inline LL cal(LL x){
           ^
0_0_17465410_10299.cpp:34:11: note: 'LL cal(LL)' previously defined here
 inline LL cal(LL x){
           ^
0_0_17465410_10299.cpp: In function 'void init()':
0_0_17465410_10299.cpp:100:6: error: redefinition of 'void init()'
 void init(){F(i,0,9)F(j,1,15)dt[i][j]=pow(i,j);}
      ^
0_0_17465410_10299.cpp:39:6: note: 'void init()' previously defined here
 void init(){F(i,0,9)F(j,1,15)dt[i][j]=pow(i,j);}
      ^
0_0_17465410_10299.cpp: In function 'int main()':
0_0_17465410_10299.cpp:101:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_17465410_10299.cpp:40: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-27 03:51:27, Gzip enabled