3 solutions

  • 0
    @ 2026-3-1 14:24:59

    #include #include using namespace std; int main(){ int n; cin>>n; if(n>0){ cout<<floor(n); } else cout<<ceil(n); return 0; }

    Information

    ID
    11977
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    1
    Tags
    # Submissions
    113
    Accepted
    26
    Uploaded By