#136. 三数关系判断
三数关系判断
Three Number Relationship Check
Background
Congcong is currently learning addition. He wonders, given three integers, if it's always possible to find two of them whose sum is exactly equal to the third one.
Problem Description
Given three integers , return true if it is possible to add two of the integers to get the third.
Input Format
The input consists of a single line containing three integers , separated by spaces.
Output Format
Output true if the sum of any two integers equals the third integer; otherwise, output false.
trueorfalse
Sample
1 2 3
true
3 1 2
true
3 2 2
false
Sample Explanation
Sample 1: . Sample 2: . Sample 3: , and .
Constraints
Time limit: second, Memory limit: KiB.