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_37674162_18371.cpp:51:2: error: stray '#' in program
 }#include<cstring>
  ^
0_0_37674162_18371.cpp:51:3: error: 'include' does not name a type
 }#include<cstring>
   ^
0_0_37674162_18371.cpp:60:20: error: redefinition of 'int Trie [1600160][2]'
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                    ^
0_0_37674162_18371.cpp:10:5: note: 'int Trie [1600160][2]' previously declared here
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
     ^
0_0_37674162_18371.cpp:60:33: error: redefinition of 'int val [1600160]'
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                 ^
0_0_37674162_18371.cpp:10:22: note: 'int val [1600160]' previously declared here
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                      ^
0_0_37674162_18371.cpp:60:35: error: redefinition of 'int cnt'
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                   ^
0_0_37674162_18371.cpp:10:35: note: 'int cnt' previously declared here
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                   ^
0_0_37674162_18371.cpp:60:39: error: redefinition of 'int T'
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                       ^
0_0_37674162_18371.cpp:10:39: note: 'int T' previously declared here
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                       ^
0_0_37674162_18371.cpp:60:41: error: redefinition of 'int n'
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                         ^
0_0_37674162_18371.cpp:10:41: note: 'int n' previously declared here
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                         ^
0_0_37674162_18371.cpp:60:43: error: redefinition of 'int m'
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                           ^
0_0_37674162_18371.cpp:10:43: note: 'int m' previously declared here
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                           ^
0_0_37674162_18371.cpp:60:45: error: redefinition of 'int x'
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                             ^
0_0_37674162_18371.cpp:10:45: note: 'int x' previously declared here
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                             ^
0_0_37674162_18371.cpp:60:47: error: redefinition of 'int k'
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                               ^
0_0_37674162_18371.cpp:10:47: note: 'int k' previously defined here
 int Trie[maxn*16][2],val[maxn*16],cnt,T,n,m,x,k=0;
                                               ^
0_0_37674162_18371.cpp: In function 'void insert(ll)':
0_0_37674162_18371.cpp:62:6: error: redefinition of 'void insert(ll)'
 void insert(ll v){
      ^
0_0_37674162_18371.cpp:12:6: note: 'void insert(ll)' previously defined here
 void insert(ll v){
      ^
0_0_37674162_18371.cpp: In function 'int query(ll)':
0_0_37674162_18371.cpp:72:5: error: redefinition of 'int query(ll)'
 int query(ll v){
     ^
0_0_37674162_18371.cpp:22:5: note: 'int query(ll)' previously defined here
 int query(ll v){
     ^
0_0_37674162_18371.cpp: In function 'int main()':
0_0_37674162_18371.cpp:83:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_37674162_18371.cpp:33: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 00:39:46, Gzip enabled