#B. 弘扬“和”文化

    Type: Default 1000ms 256MiB

弘扬“和”文化

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

听说题面简洁对人非常友好。

Description

您将获得三个整数 a、b和 c。确定其中一个是否是另外两个的总和。

Format

Input

第一行包含一个整数t(t<1e9) 每个测试用例的描述由三个整数组成:a,b,c(0<=a,b,c<1e6)

Output

对于每个测试用例,如果其中一个数字是其他两个数字的总和,则输出“YES”,否则输出“NO”。

Samples

6
1 4 3
2 5 8
9 11 20
20 20 20
4 12 3
15 7 8

YES
NO
YES
NO
NO
YES

Limitation

1s, 1024KiB for each test case.

新生周赛第六场(DIV. 4)

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
6
Start at
2022-12-3 9:00
End at
2022-12-3 11:00
Duration
2 hour(s)
Host
Partic.
33