Time Limit: 1000/1000 MS (Java/Others)
Memory Limit: 32768/32768 K (Java/Others)
200 401992 950 0
00 40 8015
/*0ms,220KB*/ #include<cstdio> using namespace std; int main(void) { int a, b; while (scanf("%d%d", &a, &b), a) { a = 100 * a % b; if (a != 0) a = b - a; printf("%02d", a); a += b; while (a < 100) { printf(" %02d", a); a += b; } puts(""); } return 0; }