#include<cstdio>
#include<iostream>
using namespace std;
int main()
{
//freopen("jeslie.txt","r",stdin);
int i=0,m,n;
while(cin>>m>>n&&m!=0&&n!=0)
{
i++;
m=m*100;
int k=0;
for(int i=1;i<=100;i++)
{
if(m%n==0)
{
if(k) cout<<" ";
cout<<(m%100)/10<<m%10;
k++;
}
m++;
}
cout<<endl;
}
return 0;
}
hdu----2099
最新推荐文章于 2019-08-26 14:30:36 发布