100 atcoder#ABC105A. [ABC105A] AtCoder Crackers
[ABC105A] AtCoder Crackers
Score : points
Problem Statement
Takahashi has decided to distribute AtCoder Crackers to users of as evenly as possible. When all the crackers are distributed, find the minimum possible (absolute) difference between the largest number of crackers received by a user and the smallest number received by a user.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the minimum possible (absolute) difference between the largest number of crackers received by a user and the smallest number received by a user.
7 3
1
When the users receive two, two and three crackers, respectively, the (absolute) difference between the largest number of crackers received by a user and the smallest number received by a user, is .
100 10
0
The crackers can be distributed evenly.
1 1
0