cppOlimp/ot_perestanovki_shtoto_menyaetsa.cpp

17 lines
290 B
C++
Raw Normal View History

2022-02-07 22:33:05 +03:00
//acmp.ru 0970 ot_perestanovki_shtoto_menyaetsa.cpp 9%
#include <stdio.h>
int main(){
freopen("INPUT.TXT", "r", stdin);
freopen("OUTPUT.TXT", "w", stdout);
int a,b,c;
scanf("%i %i %i", &a, &b, &c);
if(a+b == c || b+c == a || c+a == b){
printf("YES");
}else{
printf("NO");
}
}