Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
2750 A班-何泓霏 勾股数 C++ 通过 100 1 MS 260 KB 215 2024-12-21 11:47:01

Tests(5/5):


#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; }


测评信息: