4 solutions

  • 1
    @ 2025-8-9 19:21:41

    #include<bits/stdc++.h> using namespace std ; int main(){ long long W,F,P,S; cin>>W>>F>>P>>S; long long h=0; h=floor((W-F+P2)/S)+1; long long A=hh; cout<<A; return 0; }

    Information

    ID
    1074
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    8
    Tags
    (None)
    # Submissions
    93
    Accepted
    16
    Uploaded By