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_30025872_25352.cpp:69:13: error: conflicting declaration 'int dp [20][2]'
 int dp[20][2];
             ^
0_0_30025872_25352.cpp:5:5: note: previous declaration as 'int dp [10][3]'
 int dp[10][3];//dp[i][j],i代表数字的位数,j代表状况
     ^
0_0_30025872_25352.cpp: In function 'int solve(int)':
0_0_30025872_25352.cpp:87:5: error: redefinition of 'int solve(int)'
 int solve(int x)
     ^
0_0_30025872_25352.cpp:22:5: note: 'int solve(int)' previously defined here
 int solve(int n)
     ^
0_0_30025872_25352.cpp: In function 'int main()':
0_0_30025872_25352.cpp:99:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_30025872_25352.cpp:49: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-30 10:16:51, Gzip enabled