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_36884630_4346.cpp: In function 'long long int read()':
0_0_36884630_4346.cpp:150:11: error: redefinition of 'long long int read()'
 inline LL read(){
           ^
0_0_36884630_4346.cpp:9:11: note: 'long long int read()' previously defined here
 inline LL read(){
           ^
0_0_36884630_4346.cpp: At global scope:
0_0_36884630_4346.cpp:156:11: error: redefinition of 'const int maxn'
 const int maxn =100100;
           ^
0_0_36884630_4346.cpp:15:11: note: 'const int maxn' previously defined here
 const int maxn =100100;
           ^
0_0_36884630_4346.cpp:157:5: error: redefinition of 'int n'
 int n,m;
     ^
0_0_36884630_4346.cpp:16:5: note: 'int n' previously declared here
 int n,m;
     ^
0_0_36884630_4346.cpp:157:7: error: redefinition of 'int m'
 int n,m;
       ^
0_0_36884630_4346.cpp:16:7: note: 'int m' previously declared here
 int n,m;
       ^
0_0_36884630_4346.cpp:158:10: error: redefinition of 'long long int a [100100]'
 LL a[maxn];
          ^
0_0_36884630_4346.cpp:17:4: note: 'long long int a [100100]' previously declared here
 LL a[maxn];
    ^
0_0_36884630_4346.cpp: In function 'bool cmp(const std::pair<long long int, int>&, const std::pair<long long int, int>&)':
0_0_36884630_4346.cpp:160:6: error: redefinition of 'bool cmp(const std::pair<long long int, int>&, const std::pair<long long int, int>&)'
 bool cmp(const pair<LL,int>& a,const pair<LL,int>& b){
      ^
0_0_36884630_4346.cpp:19:6: note: 'bool cmp(const std::pair<long long int, int>&, const std::pair<long long int, int>&)' previously defined here
 bool cmp(const pair<LL,int>& a,const pair<LL,int>& b){
      ^
0_0_36884630_4346.cpp: At global scope:
0_0_36884630_4346.cpp:163:6: error: redefinition of 'bool flag'
 bool flag=0;
      ^
0_0_36884630_4346.cpp:22:6: note: 'bool flag' previously defined here
 bool flag=0;
      ^
0_0_36884630_4346.cpp: In function 'void solve()':
0_0_36884630_4346.cpp:164:6: error: redefinition of 'void solve()'
 void solve(){
      ^
0_0_36884630_4346.cpp:23:6: note: 'void solve()' previously defined here
 void solve(){
      ^
0_0_36884630_4346.cpp: In function 'int main()':
0_0_36884630_4346.cpp:269:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_36884630_4346.cpp:128: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-07-02 22:40:22, Gzip enabled