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_37559447_24358.cpp:137:11: error: redefinition of 'const int N'
 const int N=1e5+5;
           ^
0_0_37559447_24358.cpp:28:11: note: 'const int N' previously defined here
 const int N=1e5+5;
           ^
0_0_37559447_24358.cpp:138:14: error: redefinition of 'const double esp'
 const double esp=1e-5;
              ^
0_0_37559447_24358.cpp:29:14: note: 'const double esp' previously defined here
 const double esp=1e-5;
              ^
0_0_37559447_24358.cpp:139:14: error: redefinition of 'const double PI'
 const double PI=acos(-1.0);
              ^
0_0_37559447_24358.cpp:30:14: note: 'const double PI' previously defined here
 const double PI=acos(-1.0);
              ^
0_0_37559447_24358.cpp:140:10: error: redefinition of 'const ll mod'
 const ll mod=1e9+7;
          ^
0_0_37559447_24358.cpp:31:10: note: 'const ll mod' previously defined here
 const ll mod=1e9+7;
          ^
0_0_37559447_24358.cpp:141:11: error: redefinition of 'const int base1'
 const int base1=133331,base2=13333331;
           ^
0_0_37559447_24358.cpp:32:11: note: 'const int base1' previously defined here
 const int base1=133331,base2=13333331;
           ^
0_0_37559447_24358.cpp:141:24: error: redefinition of 'const int base2'
 const int base1=133331,base2=13333331;
                        ^
0_0_37559447_24358.cpp:32:24: note: 'const int base2' previously defined here
 const int base1=133331,base2=13333331;
                        ^
0_0_37559447_24358.cpp:144:3: error: redefinition of 'template<class T> T fpow(T, T, T)'
 T fpow(T a,T b,T c){
   ^
0_0_37559447_24358.cpp:35:3: note: 'template<class T> T fpow(T, T, T)' previously declared here
 T fpow(T a,T b,T c){
   ^
0_0_37559447_24358.cpp:154:6: error: conflicting declaration 'auto cmp'
 auto cmp=[](int x,int y){ return x>y; };
      ^
0_0_37559447_24358.cpp:45:6: note: previous declaration as '<lambda(int, int)> cmp'
 auto cmp=[](int x,int y){ return x>y; };
      ^
0_0_37559447_24358.cpp:157:5: error: redefinition of 'int tot'
 int tot=1,n,m;
     ^
0_0_37559447_24358.cpp:48:5: note: 'int tot' previously defined here
 int tot=1,n,m;
     ^
0_0_37559447_24358.cpp:157:11: error: redefinition of 'int n'
 int tot=1,n,m;
           ^
0_0_37559447_24358.cpp:48:11: note: 'int n' previously declared here
 int tot=1,n,m;
           ^
0_0_37559447_24358.cpp:157:13: error: redefinition of 'int m'
 int tot=1,n,m;
             ^
0_0_37559447_24358.cpp:48:13: note: 'int m' previously declared here
 int tot=1,n,m;
             ^
0_0_37559447_24358.cpp:158:14: error: redefinition of 'int trie [100005][2]'
 int trie[N][2]; //该数组保存的是编号为i的节点的下一个字母如果存在时的编号
              ^
0_0_37559447_24358.cpp:49:5: note: 'int trie [100005][2]' previously declared here
 int trie[N][2]; //该数组保存的是编号为i的节点的下一个字母如果存在时的编号
     ^
0_0_37559447_24358.cpp:159:11: error: redefinition of 'bool isw [100005]'
 bool isw[N];
           ^
0_0_37559447_24358.cpp:50:6: note: 'bool isw [100005]' previously declared here
 bool isw[N];
      ^
0_0_37559447_24358.cpp: In function 'void init()':
0_0_37559447_24358.cpp:161:6: error: redefinition of 'void init()'
 void init(){
      ^
0_0_37559447_24358.cpp:52:6: note: 'void init()' previously defined here
 void init(){
      ^
0_0_37559447_24358.cpp: In function 'void insert(ll)':
0_0_37559447_24358.cpp:166:6: error: redefinition of 'void insert(ll)'
 void insert(ll s){
      ^
0_0_37559447_24358.cpp:57:6: note: 'void insert(ll)' previously defined here
 void insert(ll s){
      ^
0_0_37559447_24358.cpp: In function 'll find(int)':
0_0_37559447_24358.cpp:178:4: error: redefinition of 'll find(int)'
 ll find(int x){
    ^
0_0_37559447_24358.cpp:69:4: note: 'll find(int)' previously defined here
 ll find(int x){
    ^
0_0_37559447_24358.cpp: At global scope:
0_0_37559447_24358.cpp:194:5: error: redefinition of 'int tt'
 int tt=0;
     ^
0_0_37559447_24358.cpp:85:5: note: 'int tt' previously defined here
 int tt=0;
     ^
0_0_37559447_24358.cpp: In function 'void slove()':
0_0_37559447_24358.cpp:195:6: error: redefinition of 'void slove()'
 void slove(){
      ^
0_0_37559447_24358.cpp:86:6: note: 'void slove()' previously defined here
 void slove(){
      ^
0_0_37559447_24358.cpp: In function 'int main()':
0_0_37559447_24358.cpp:209:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37559447_24358.cpp:100: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-17 03:31:35, Gzip enabled