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_38526589_28011.cpp:21:5: error: stray '#' in program
 bool#include<bits/stdc++.h>
     ^
0_0_38526589_28011.cpp:21:13: error: expected initializer before '<' token
 bool#include<bits/stdc++.h>
             ^
0_0_38526589_28011.cpp:23:11: error: redefinition of 'const int N'
 const int N=4e5+10;
           ^
0_0_38526589_28011.cpp:3:11: note: 'const int N' previously defined here
 const int N=4e5+10;
           ^
0_0_38526589_28011.cpp:30:8: error: redefinition of 'std::pair<long long unsigned int, long long unsigned int> h [400010]'
 pul h[N],h_pow[N];//¹þÏ£
        ^
0_0_38526589_28011.cpp:10:5: note: 'std::pair<long long unsigned int, long long unsigned int> h [400010]' previously declared here
 pul h[N],h_pow[N];//¹þÏ£
     ^
0_0_38526589_28011.cpp:30:17: error: redefinition of 'std::pair<long long unsigned int, long long unsigned int> h_pow [400010]'
 pul h[N],h_pow[N];//¹þÏ£
                 ^
0_0_38526589_28011.cpp:10:10: note: 'std::pair<long long unsigned int, long long unsigned int> h_pow [400010]' previously declared here
 pul h[N],h_pow[N];//¹þÏ£
          ^
0_0_38526589_28011.cpp:32:5: error: redefinition of 'int n'
 int n;
     ^
0_0_38526589_28011.cpp:12:5: note: 'int n' previously declared here
 int n;
     ^
0_0_38526589_28011.cpp:33:9: error: redefinition of 'char s [400010]'
 char s[N]; 
         ^
0_0_38526589_28011.cpp:13:6: note: 'char s [400010]' previously declared here
 char s[N]; 
      ^
0_0_38526589_28011.cpp: In function 'void init(int)':
0_0_38526589_28011.cpp:34:6: error: redefinition of 'void init(int)'
 void init(int maxn){
      ^
0_0_38526589_28011.cpp:14:6: note: 'void init(int)' previously defined here
 void init(int maxn){
      ^
0_0_38526589_28011.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_38526589_28011.cpp:131: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_38526589_28011.cpp:41: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_38526589_28011.cpp: In function 'std::pair<long long unsigned int, long long unsigned int> get_hash(int, int)':
0_0_38526589_28011.cpp:135: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_38526589_28011.cpp:45: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_38526589_28011.cpp: In function 'void pre(char*, int)':
0_0_38526589_28011.cpp:138:6: error: redefinition of 'void pre(char*, int)'
 void pre(char s[],int len){
      ^
0_0_38526589_28011.cpp:48:6: note: 'void pre(char*, int)' previously defined here
 void pre(char s[],int len){
      ^
0_0_38526589_28011.cpp: In function 'int get_suf(int, int, int)':
0_0_38526589_28011.cpp:144:5: error: redefinition of 'int get_suf(int, int, int)'
 int get_suf(int p1,int p2,int len){
     ^
0_0_38526589_28011.cpp:54:5: note: 'int get_suf(int, int, int)' previously defined here
 int get_suf(int p1,int p2,int len){
     ^
0_0_38526589_28011.cpp: In function 'int get_pre(int, int, int)':
0_0_38526589_28011.cpp:158:5: error: redefinition of 'int get_pre(int, int, int)'
 int get_pre(int p1,int p2,int len){
     ^
0_0_38526589_28011.cpp:68:5: note: 'int get_pre(int, int, int)' previously defined here
 int get_pre(int p1,int p2,int len){
     ^
0_0_38526589_28011.cpp: In function 'int main()':
0_0_38526589_28011.cpp:172:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_38526589_28011.cpp:82: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-05-26 12:55:01, Gzip enabled