| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2710 | A班-过懿萱 | 勾股数 | C++ | Accepted | 100 | 1 MS | 268 KB | 257 | 2024-12-21 10:44:10 |
#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; }