#include
using namespace std;
int main() {
int a, b, c;
cout << "a, b, c: ";<br> cin >> a >> b >> c;
if ((a*a+b*b==c*c)||(a*a+c*c==b*b)||(b*b+c*c==a*a))
cout << "YES";<br>else cout << "NO";<br> return 0;
}
Пример:
a, b, c: 1960509751 3954270001999990249
YES