6 条题解

  • 0
    @ 2025-3-10 16:25:24

    #include <bits/stdc++.h> using namespace std; double a,b,c,d,e,f; int main() { cin>>a>>b>>c>>d; e=1/(1/a+1/b); f=1/(1/a+1/b+1/c+1/d); printf("%.2f",e); cout<<endl; printf("%.2f",f); return 0; }

    信息

    ID
    43
    时间
    1000ms
    内存
    128MiB
    难度
    2
    标签
    递交数
    511
    已通过
    317
    上传者