不一定正确

This commit is contained in:
James 2020-03-27 17:41:29 +08:00
parent a5afa671a6
commit 30ccb60c7f
1 changed files with 7 additions and 6 deletions

View File

@ -9,7 +9,7 @@ int main()
if (a[i] == 1) { if (a[i] == 1) {
num[i] = ++sum; num[i] = ++sum;
} }
} }/*
now[1]=1; now[1]=1;
do{ do{
t++; t++;
@ -21,12 +21,13 @@ int main()
if(bi<sum){ if(bi<sum){
sum=bi; sum=bi;
} }
}while(t<w); }while(t<w);*/
cout<<sum;
/*
for(int i=1;i<=n;i++){ for(int i=1;i<=n;i++){
for(int j=1;j<=k;j++){ for(int j=1;j<=k;j++){
if(i==j){
break;
} }
}*/ }
}
cout<<sum;
} }