Hide
Problem A
Factovisors
The factorial function,
We say that
Input
The input to your program consists of several lines, each
containing two non-negative integers,
Output
For each input line, output a line stating whether or not
Sample Input 1 | Sample Output 1 |
---|---|
6 9 6 27 20 10000 20 100000 1000 1009 |
9 divides 6! 27 does not divide 6! 10000 divides 20! 100000 does not divide 20! 1009 does not divide 1000! |