TopCoder

Yeason
</dfn></blockquote><script></script><blockquote><dfn>

User's AC Ratio

98.2% (162/165)

Submission's AC Ratio

58.7% (192/327)

Tags

Description

給你三個數字a,b,c,如果有其中兩個數字的和等於第三個數字,那麼這三個數字成為一個Good Pair!
請你判斷這三個數字是不是Good Pair

Input Format

輸入可能包含多筆測試資料,每一列為一筆測試資料,包含三個正整數a,b,c。所有數字都小於1000。

Output Format

對於每一筆測試資料,若其中兩個數字的和等於第三個數字,請輸出"Good Pair"(不包含雙引號);
否則請輸出 "Not Good Pair"(不包含雙引號)。

Sample Input 1

1 2 3
2 3 4
2 3 5

Sample Output 1

Good Pair
Not Good Pair
Good Pair

Hints

Problem Source

原TIOJ1165 / TIOJ 2008例行賽01 (測試題)。Problem Setter:Tmt。

Subtasks

No. Testdata Range Score
1 0 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 65536 262144 1