3 条题解

  • -1
    @ 2023-7-18 13:29:56

    #include <bits/stdc++.h> #include using namespace std;

    int main() { for (double i=2.0;i<=60;i++){ for(double j=60.0;j>=i;j--){ for (double h=1.0;h<=i;h++){ if(abs(1.0/i/i+1.0/j/j-1.0/h/h)<=0.00000000001){ cout<<i<<" "; cout<<j<<" "; cout<<h<<endl; } } } }

    return 0;
    

    }

    • @ 2023-7-18 14:54:31

      建议去学一下Markdown

信息

ID
78
时间
1000ms
内存
128MiB
难度
6
标签
递交数
565
已通过
191
上传者