Hide
Problem B
Miller-Rabin Witness
Languages
en
is
Determine if an integer
Input
The first line contains a number
Each test case consists of two lines. First line consist of
an integer
Output
For each test case, write a single line with
Sample Input 1 | Sample Output 1 |
---|---|
2 561 2 172947527 17 |
1 0 |