0_0_17197629_13201.cpp:54:5: error: redefinition of 'int n'
int n,res,full,ans[11];
^
0_0_17197629_13201.cpp:5:12: note: 'int n' previously declared here
int st[70],n,sum,len;
^
0_0_17197629_13201.cpp: In function 'void dfs(int, int, int)':
0_0_17197629_13201.cpp:55:31: error: ambiguating new declaration of 'void dfs(int, int, int)'
void dfs(int row,int ld,int rd){
^
0_0_17197629_13201.cpp:7:6: note: old declaration 'bool dfs(int, int, int)'
bool dfs(int cnt,int rlen,int sts){//总剩余长度,该根剩下的长度,剩下的根数
^
0_0_17197629_13201.cpp: In function 'int main()':
0_0_17197629_13201.cpp:67:5: error: redefinition of 'int main()'
int main(){
^
0_0_17197629_13201.cpp:31:5: note: 'int main()' previously defined here
int main(){
^
0_0_17197629_13201.cpp: At global scope:
0_0_17197629_13201.cpp:83:41: error: redefinition of 'int n'
int first[20001],num[20001],v[20001],vs,n,in[20001];
^
0_0_17197629_13201.cpp:5:12: note: 'int n' previously declared here
int st[70],n,sum,len;
^
0_0_17197629_13201.cpp: In function 'int main()':
0_0_17197629_13201.cpp:102:5: error: redefinition of 'int main()'
int main(){
^
0_0_17197629_13201.cpp:31:5: note: 'int main()' previously defined here
int main(){
^
0_0_17197629_13201.cpp: At global scope:
0_0_17197629_13201.cpp:129:5: error: redefinition of 'int n'
int n,m,bella[12],bellm[12],a[12],use[12],res;
^
0_0_17197629_13201.cpp:5:12: note: 'int n' previously declared here
int st[70],n,sum,len;
^
0_0_17197629_13201.cpp:129:41: error: conflicting declaration 'int use [12]'
int n,m,bella[12],bellm[12],a[12],use[12],res;
^
0_0_17197629_13201.cpp:6:6: note: previous declaration as 'bool use [70]'
bool use[70];
^
0_0_17197629_13201.cpp:129:43: error: redefinition of 'int res'
int n,m,bella[12],bellm[12],a[12],use[12],res;
^
0_0_17197629_13201.cpp:54:7: note: 'int res' previously declared here
int n,res,full,ans[11];
^
0_0_17197629_13201.cpp: In function 'void dfs(int)':
0_0_17197629_13201.cpp:130:6: error: redefinition of 'void dfs(int)'
void dfs(int p){
^
0_0_17197629_13201.cpp:90:6: note: 'void dfs(int)' previously defined here
void dfs(int p){
^
0_0_17197629_13201.cpp: In function 'int main()':
0_0_17197629_13201.cpp:150:5: error: redefinition of 'int main()'
int main(){
^
0_0_17197629_13201.cpp:31:5: note: 'int main()' previously defined here
int main(){
^
|