标签:lock src view for main sed blocks start image
hdu2099
模拟
1 #include<stdio.h>
2 int m[100];
3 int main(){
4 long long a,b,t;
5 while(scanf("%I64d%I64d",&a,&b)!=EOF&&(a!=0&&b!=0)){
6 t=a*100;
7 long long i;
8 int ans=0;
9 for(i=0;i<=99;i++){
10 if((t+i)%b==0)m[++ans]=i;
11 }
12 for(i=1;i<=ans;i++){
13 if(m[i]<10)printf("0");
14 printf("%d",m[i]);
15 if(i==ans)printf("\n");
16 else printf(" ");
17 }
18 }
19 return 0;
20 }
标签:lock src view for main sed blocks start image
原文地址:http://www.cnblogs.com/cenariusxz/p/6578256.html