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_18004703_32271.cpp:73:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_18004703_32271.cpp:73:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_18004703_32271.cpp:79:5: error: redefinition of 'int mx'
 int mx, id, mp[2 * Maxn + 10], ma[2 * Maxn + 10];
     ^
0_0_18004703_32271.cpp:7:5: note: 'int mx' previously declared here
 int mx, id, mp[2 * Maxn + 10], ma[2 * Maxn + 10];
     ^
0_0_18004703_32271.cpp:79:9: error: redefinition of 'int id'
 int mx, id, mp[2 * Maxn + 10], ma[2 * Maxn + 10];
         ^
0_0_18004703_32271.cpp:7:9: note: 'int id' previously declared here
 int mx, id, mp[2 * Maxn + 10], ma[2 * Maxn + 10];
         ^
0_0_18004703_32271.cpp:79:29: error: redefinition of 'int mp [200010]'
 int mx, id, mp[2 * Maxn + 10], ma[2 * Maxn + 10];
                             ^
0_0_18004703_32271.cpp:7:13: note: 'int mp [200010]' previously declared here
 int mx, id, mp[2 * Maxn + 10], ma[2 * Maxn + 10];
             ^
0_0_18004703_32271.cpp:79:48: error: redefinition of 'int ma [200010]'
 int mx, id, mp[2 * Maxn + 10], ma[2 * Maxn + 10];
                                                ^
0_0_18004703_32271.cpp:7:32: note: 'int ma [200010]' previously declared here
 int mx, id, mp[2 * Maxn + 10], ma[2 * Maxn + 10];
                                ^
0_0_18004703_32271.cpp:80:16: error: redefinition of 'int a [100010]'
 int a[Maxn + 10], n, T;
                ^
0_0_18004703_32271.cpp:8:5: note: 'int a [100010]' previously declared here
 int a[Maxn + 10], n, T;
     ^
0_0_18004703_32271.cpp:80:19: error: redefinition of 'int n'
 int a[Maxn + 10], n, T;
                   ^
0_0_18004703_32271.cpp:8:19: note: 'int n' previously declared here
 int a[Maxn + 10], n, T;
                   ^
0_0_18004703_32271.cpp:80:22: error: redefinition of 'int T'
 int a[Maxn + 10], n, T;
                      ^
0_0_18004703_32271.cpp:8:22: note: 'int T' previously declared here
 int a[Maxn + 10], n, T;
                      ^
0_0_18004703_32271.cpp: In function 'int min(int, int)':
0_0_18004703_32271.cpp:82:5: error: redefinition of 'int min(int, int)'
 int min(int x, int y)
     ^
0_0_18004703_32271.cpp:10:5: note: 'int min(int, int)' previously defined here
 int min(int x, int y)
     ^
0_0_18004703_32271.cpp: In function 'int max(int, int)':
0_0_18004703_32271.cpp:87:5: error: redefinition of 'int max(int, int)'
 int max(int x, int y)
     ^
0_0_18004703_32271.cpp:15:5: note: 'int max(int, int)' previously defined here
 int max(int x, int y)
     ^
0_0_18004703_32271.cpp: In function 'int main()':
0_0_18004703_32271.cpp:92:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18004703_32271.cpp:20: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-30 10:41:05, Gzip enabled