Divisibility#8522

Divisibility

1 sekunda
128 megabajtov
Zelo lahko

Given two positive integers and . Check if is divisible by without a remainder.

Vhod

Two positive integers and b~(1 \le a, b \le 10^9)

Izhod

If is not divisible by , print two numbers in a single line: the quotient and the remainder of divided by . If is divisible by , print the string "Divisible".

Primeri

Primer 1

Loading
Loading

Primer 2

Loading
Loading