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_14051410_9133.cpp:8:23: error: redefinition of 'int j'
 int ls[1000], l1, l2, j, i, n, d, q;
                       ^
0_0_14051410_9133.cpp:6:5: note: 'int j' previously declared here
 int j , i, jz[100], n, flag, a[10000],b[10000],sum[10000];
     ^
0_0_14051410_9133.cpp:8:26: error: redefinition of 'int i'
 int ls[1000], l1, l2, j, i, n, d, q;
                          ^
0_0_14051410_9133.cpp:6:9: note: 'int i' previously declared here
 int j , i, jz[100], n, flag, a[10000],b[10000],sum[10000];
         ^
0_0_14051410_9133.cpp:8:29: error: redefinition of 'int n'
 int ls[1000], l1, l2, j, i, n, d, q;
                             ^
0_0_14051410_9133.cpp:6:21: note: 'int n' previously declared here
 int j , i, jz[100], n, flag, a[10000],b[10000],sum[10000];
                     ^


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-03 18:01:04, Gzip enabled