1 solutions

  • 1
    @ 2025-10-31 15:58:35
    #include<iostream>
    using namespace std;
    int main(){
        double a, b;
        cin>>a>>b;
        int c = a*b/10;
        if(c%10 >= 5){
            c = c-c%10+10;
        }else{
            c = c-c%10;
        }
        cout<<c;
        return 0;
    }
    

    Information

    ID
    526
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    4
    Tags
    # Submissions
    154
    Accepted
    75
    Uploaded By