#139. lastDigit
lastDigit
Background
Description
Given three ints, a b c, return true if two or more of them have the same rightmost digit. The ints are non-negative. Note: the % "mod" operator computes the remainder, e.g. 17 % 10 is 7.
Format
Input
Output
Samples
23 19 13
true
23 19 12
false
23 19 3
true
Limitation
1s, 1024KiB for each test case.