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()
^
|