Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
2709 A班-过懿萱 勾股数 C++ 解答错误 20 1 MS 268 KB 257 2024-12-21 10:42:56

Tests(1/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 && b * b == a * a + c * c && c * c == a * a + b * b) { cout<<"True"<<endl; } else { cout<<"False"<<endl; } return 0; }


测评信息: