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_38526598_30658.cpp: In function 'int operator==(std::pair<long long unsigned int, long long unsigned int>, std::pair<long long unsigned int, long long unsigned int>)':
0_0_38526598_30658.cpp:111:27: error: ambiguating new declaration of 'int operator==(std::pair<long long unsigned int, long long unsigned int>, std::pair<long long unsigned int, long long unsigned int>)'
 } operator == (pul a,pul b){
                           ^
0_0_38526598_30658.cpp:21:6: note: old declaration 'bool operator==(std::pair<long long unsigned int, long long unsigned int>, std::pair<long long unsigned int, long long unsigned int>)'
 bool operator == (pul a,pul b){
      ^
0_0_38526598_30658.cpp: In function 'std::pair<long long unsigned int, long long unsigned int> get_hash(int, int)':
0_0_38526598_30658.cpp:115:5: error: redefinition of 'std::pair<long long unsigned int, long long unsigned int> get_hash(int, int)'
 pul get_hash(int l,int r){
     ^
0_0_38526598_30658.cpp:25:5: note: 'std::pair<long long unsigned int, long long unsigned int> get_hash(int, int)' previously defined here
 pul get_hash(int l,int r){
     ^
0_0_38526598_30658.cpp: In function 'void pre(char*, int)':
0_0_38526598_30658.cpp:118:6: error: redefinition of 'void pre(char*, int)'
 void pre(char s[],int len){
      ^
0_0_38526598_30658.cpp:28:6: note: 'void pre(char*, int)' previously defined here
 void pre(char s[],int len){
      ^
0_0_38526598_30658.cpp: In function 'int get_suf(int, int, int)':
0_0_38526598_30658.cpp:124:5: error: redefinition of 'int get_suf(int, int, int)'
 int get_suf(int p1,int p2,int len){
     ^
0_0_38526598_30658.cpp:34:5: note: 'int get_suf(int, int, int)' previously defined here
 int get_suf(int p1,int p2,int len){
     ^
0_0_38526598_30658.cpp: In function 'int get_pre(int, int, int)':
0_0_38526598_30658.cpp:138:5: error: redefinition of 'int get_pre(int, int, int)'
 int get_pre(int p1,int p2,int len){
     ^
0_0_38526598_30658.cpp:48:5: note: 'int get_pre(int, int, int)' previously defined here
 int get_pre(int p1,int p2,int len){
     ^
0_0_38526598_30658.cpp: In function 'int main()':
0_0_38526598_30658.cpp:152:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_38526598_30658.cpp:62: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-25 17:22:15, Gzip enabled