2 条题解

  • 5
    @ 2022-12-13 11:46:38
    #include <iostream>
    using namespace std;
    int main()
    {
        double L, R, V;
        cin >> L >> R >> V;
        cout << "Q:" << L * R << endl;
        cout << "C:" << (L + R) * V;
        return 0;
    }
    
    • -4
      @ 2023-4-10 20:51:21
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          double l,r,v;
          cin>>l>>r>>v;
          cout<<"Q:"<<l*r<<"\nC:"<<(l+r)*v;
          return 0;
      }
      • 1

      信息

      ID
      955
      时间
      1000ms
      内存
      16MiB
      难度
      3
      标签
      递交数
      117
      已通过
      60
      上传者