1 solutions

  • 0
    @ 2025-3-3 16:30:27

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        double l,r,v;
    	cin>>l>>r>>v;
    	cout<<"Q:"<<l*r<<endl;
    	cout<<"C:"<<(l+r)*v<<endl;     
    
    }
    
    
    
    • 1

    Information

    ID
    10314
    Time
    1000ms
    Memory
    16MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By