Run ID:109102

提交时间:2025-01-26 17:38:28

#include<bits/stdc++.h> using namespace std; int main() { for(int i=1;i<=11;i++) { for(int j=1;j<=11;j++) { for(int k=1;k<=11;k++) { if(i<j&&i*i+j*j==k*k) { s++; } } } } cout<<s<<endl; return 0; }