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_38348345_28545.cpp:76:5: error: redefinition of 'long long int n'
 int n, m;
     ^
0_0_38348345_28545.cpp:9:5: note: 'long long int n' previously declared here
 int n, m;
     ^
0_0_38348345_28545.cpp:76:8: error: redefinition of 'long long int m'
 int n, m;
        ^
0_0_38348345_28545.cpp:9:8: note: 'long long int m' previously declared here
 int n, m;
        ^
0_0_38348345_28545.cpp:77:9: error: redefinition of 'long long int in [100007]'
 int in[N], out[N], book[N];
         ^
0_0_38348345_28545.cpp:10:5: note: 'long long int in [100007]' previously declared here
 int in[N], out[N], book[N];
     ^
0_0_38348345_28545.cpp:77:17: error: redefinition of 'long long int out [100007]'
 int in[N], out[N], book[N];
                 ^
0_0_38348345_28545.cpp:10:12: note: 'long long int out [100007]' previously declared here
 int in[N], out[N], book[N];
            ^
0_0_38348345_28545.cpp:77:26: error: redefinition of 'long long int book [100007]'
 int in[N], out[N], book[N];
                          ^
0_0_38348345_28545.cpp:10:20: note: 'long long int book [100007]' previously declared here
 int in[N], out[N], book[N];
                    ^
0_0_38348345_28545.cpp:78:8: error: redefinition of 'struct pp'
 struct pp {
        ^
0_0_38348345_28545.cpp:11:8: error: previous definition of 'struct pp'
 struct pp {
        ^
0_0_38348345_28545.cpp:80:7: error: invalid type in declaration before ';' token
 } q[N];
       ^
0_0_38348345_28545.cpp:80:7: error: conflicting declaration 'int q [100007]'
0_0_38348345_28545.cpp:13:3: note: previous declaration as 'pp q [100007]'
 } q[N];
   ^
0_0_38348345_28545.cpp: In function 'bool cmp(pp, pp)':
0_0_38348345_28545.cpp:81:6: error: redefinition of 'bool cmp(pp, pp)'
 bool cmp(pp a, pp b) {
      ^
0_0_38348345_28545.cpp:14:6: note: 'bool cmp(pp, pp)' previously defined here
 bool cmp(pp a, pp b) {
      ^
0_0_38348345_28545.cpp: In function 'void solve()':
0_0_38348345_28545.cpp:85:6: error: redefinition of 'void solve()'
 void solve() {
      ^
0_0_38348345_28545.cpp:18:6: note: 'void solve()' previously defined here
 void solve() {
      ^
0_0_38348345_28545.cpp: In function 'int main()':
0_0_38348345_28545.cpp:116:8: error: redefinition of 'int main()'
 signed main() {
        ^
0_0_38348345_28545.cpp:49:8: note: 'int main()' previously defined here
 signed 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 03:26:53, Gzip enabled