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_33607030_684.cpp:48:5: error: redefinition of 'int t'
 int t,n,p,a[MAXN];
     ^
0_0_33607030_684.cpp:5:5: note: 'int t' previously declared here
 int t,n,p,a[MAXN];
     ^
0_0_33607030_684.cpp:48:7: error: redefinition of 'int n'
 int t,n,p,a[MAXN];
       ^
0_0_33607030_684.cpp:5:7: note: 'int n' previously declared here
 int t,n,p,a[MAXN];
       ^
0_0_33607030_684.cpp:48:9: error: redefinition of 'int p'
 int t,n,p,a[MAXN];
         ^
0_0_33607030_684.cpp:5:9: note: 'int p' previously declared here
 int t,n,p,a[MAXN];
         ^
0_0_33607030_684.cpp:48:17: error: redefinition of 'int a [100005]'
 int t,n,p,a[MAXN];
                 ^
0_0_33607030_684.cpp:5:11: note: 'int a [100005]' previously declared here
 int t,n,p,a[MAXN];
           ^
0_0_33607030_684.cpp:49:12: error: redefinition of 'int dp [100005]'
 int dp[MAXN];
            ^
0_0_33607030_684.cpp:6:5: note: 'int dp [100005]' previously declared here
 int dp[MAXN];
     ^
0_0_33607030_684.cpp: In function 'int main()':
0_0_33607030_684.cpp:51:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_33607030_684.cpp:8: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-22 23:09:22, Gzip enabled