2 solutions

  • -1
    @ 2024-12-10 17:28:03

    #include<bits/stdc++.h> using namespace std; signed main(){ double x,a,y,b; cin>>x>>a>>y>>b; double ans = ( ax - by )/( a - b ); printf( "%.2f",ans); return 0; }

    Information

    ID
    590
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    8
    Tags
    (None)
    # Submissions
    250
    Accepted
    39
    Uploaded By