2 条题解
-
0齐硕 LV 10 @ 2022-07-29 15:23:39
#include<iostream>
using namespace std;
int main()
{
int a,b,c;cin>>a>>b>>c;
if(a*b == c*c || a*c == b*b || b*c == a*a) cout<<"YES";else cout<<"NO";
return 0;
} -
02021-05-27 22:35:33@
Code:
#include<iostream> using namespace std; int main() { int a,b,c;cin>>a>>b>>c; if(a*b == c*c || a*c == b*b || b*c == a*a) cout<<"YES";else cout<<"NO"; return 0; }
- 1