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_38763928_3505.cpp:46:5: error: redefinition of 'int a [5000005]'
   46 | int a[5000005];
      |     ^
0_0_38763928_3505.cpp:3:5: note: 'int a [5000005]' previously declared here
    3 | int a[5000005];
      |     ^
0_0_38763928_3505.cpp:49:6: error: redefinition of 'template<class T> void read(T&)'
   49 | void read(T &x) {
      |      ^~~~
0_0_38763928_3505.cpp:6:6: note: 'template<class T> void read(T&)' previously declared here
    6 | void read(T &x) {
      |      ^~~~
0_0_38763928_3505.cpp:58:5: error: redefinition of 'int main()'
   58 | int main() {
      |     ^~~~
0_0_38763928_3505.cpp:15:5: note: 'int main()' previously defined here
   15 | 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-09-29 07:45:06, Gzip enabled