|
【代碼】 #include <stdio.h>
int main(void) { int end, start, i; for (end = 1000; end < 2000; end++) { start = end; for (i = 5; i >= 1; i--) { start *= 5; if (start % 4 != 0) break; start = start / 4 - 1; } if (i == 0) printf("end=%d, start=%d\n", end, start); } return 0; }
|