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_30233017_32654.cpp:36:18: error: redefinition of 'int dp [500][5010]'
 int  dp[500][5010],a[100];
                  ^
0_0_30233017_32654.cpp:8:6: note: 'int dp [500][5010]' previously declared here
 int  dp[500][5010],a[100];
      ^
0_0_30233017_32654.cpp:36:25: error: redefinition of 'int a [100]'
 int  dp[500][5010],a[100];
                         ^
0_0_30233017_32654.cpp:8:20: note: 'int a [100]' previously declared here
 int  dp[500][5010],a[100];
                    ^
0_0_30233017_32654.cpp: In function 'int main()':
0_0_30233017_32654.cpp:37:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_30233017_32654.cpp:9:5: note: 'int main()' previously defined here
 int main(){
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 18:30:00, Gzip enabled