标签:hdu2099
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 23165 Accepted Submission(s): 9834
200 40 1992 95 0 0
00 40 80 15
water
#include <stdio.h> #include <string.h> int main() { int a, b, i, sign; while(scanf("%d%d", &a, &b), a || b){ a *= 100; sign = 0; for(i = 0; i < 100; ++i) if((a + i) % b == 0){ if(sign) printf(" %02d", i); else printf("%02d", i); sign = 1; } printf("\n"); } return 0; }
标签:hdu2099
原文地址:http://blog.csdn.net/chang_mu/article/details/38318789