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_21053808_10879.cpp:13:8: error: redefinition of 'int f [100005]'
 int f[M], c[M][2];
        ^
0_0_21053808_10879.cpp:10:5: note: 'int f [100005]' previously declared here
 int f[M], c[M][2];
     ^
0_0_21053808_10879.cpp:13:17: error: redefinition of 'int c [100005][2]'
 int f[M], c[M][2];
                 ^
0_0_21053808_10879.cpp:10:11: note: 'int c [100005][2]' previously declared here
 int f[M], c[M][2];
           ^
0_0_21053808_10879.cpp:14:5: error: redefinition of 'int n'
 int n, m, g, h;
     ^
0_0_21053808_10879.cpp:11:5: note: 'int n' previously declared here
 int n, m, g, h; 
     ^
0_0_21053808_10879.cpp:14:8: error: redefinition of 'int m'
 int n, m, g, h;
        ^
0_0_21053808_10879.cpp:11:8: note: 'int m' previously declared here
 int n, m, g, h; 
        ^
0_0_21053808_10879.cpp:14:11: error: redefinition of 'int g'
 int n, m, g, h;
           ^
0_0_21053808_10879.cpp:11:11: note: 'int g' previously declared here
 int n, m, g, h; 
           ^
0_0_21053808_10879.cpp:14:14: error: redefinition of 'int h'
 int n, m, g, h;
              ^
0_0_21053808_10879.cpp:11:14: note: 'int h' previously declared here
 int n, m, g, h; 
              ^


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-01 16:35:49, Gzip enabled