8 solutions

  • 1
    @ 2026-10-30 20:19:46

    #include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; int r=n/5; if(n%5>=3){ r++; } cout<<r*5; return 0; }

    Information

    ID
    2322
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    224
    Accepted
    96
    Uploaded By