-
Notifications
You must be signed in to change notification settings - Fork 2
numberfun
bradendubois edited this page Jun 9, 2021
·
6 revisions
ID: numberfun
Difficulty: 1.4
CPU Time: 1 second
Memory: 1024 MB
One can read in a, b, and c, and enumerate the cases (a + b == c?, b + a == c?, ...) and output "Possible" if any are true. Regarding implementation, one may need to be careful with division, and perhaps use doubles or similar, because 5 / 3 does actually equal 1, if using ints, but this is a case regarded as "Impossible" in the sample data.