#include<iostream>
using namespace std;
int main(void)
{
int a,b;
int count;
while(cin>>a>>b)
{
if(a==0&&b==0)
{
break;
}
count=0;
for(int i=0;i<100;i++)
{
if((a*100+i)%b==0)
{
count++;
if(count!=1)
{
cout<<" "<<(a*100+i)/10%10<<(a*100+i)%10;
}
else
{
cout<<(a*100+i)/10%10<<(a*100+i)%10;
}
}
}
cout<<endl;
}
return 0;
}
2099 整除的尾数
最新推荐文章于 2021-05-22 11:19:20 发布