Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
2750 | A班-何泓霏 | 勾股数 | C++ | Accepted | 100 | 1 MS | 260 KB | 215 | 2024-12-21 11:47:01 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a*a+b*b==c*c || a*a+c*c==b*b || c*c+b*b==a*a) { cout<<"True"; } else { cout<<"False"; } return 0; }