Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
2748 | A班-何泓霏 | 勾股数 | C++ | Compile Error | 0 | 0 MS | 0 KB | 214 | 2024-12-21 11:46:24 |
#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; }