不一定正确

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