3 条题解

  • 2
    @ 2025-11-26 20:27:46
    #include<bits/stdc++.h>
    using namespace std;
    int main() {
        double r1,r2;
        cin>>r1>>r2;
        printf("%.2f",1/(1/r1+1/r2));
        return 0;
    }
    
    • 1
      @ 2025-12-21 21:29:38
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
          double r1,r2;
          cin>>r1>>r2;
          double R=1/((1/r1)+(1/r2));
          cout<<fixed<<setprecision(2)<<R;
          return 0;
      }
      
      • -1
        @ 2025-12-17 20:50:19
        using namespace std;
        int main()
        {
        	srand(time(NULL));
        	cout<<rand();
        	return 0;
        }
        
        
        • 1

        信息

        ID
        6872
        时间
        1000ms
        内存
        128MiB
        难度
        1
        标签
        递交数
        17
        已通过
        15
        上传者