1 solutions

  • 2
    @ 2024-7-18 15:34:27
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
       int t;
       cin>>t;
       int h=t/3600;
       int m=(t%3600)/60;
       int s=t%60;
       printf("%02d:%02d:%02d",h,m,s);
       return 0;
    }
    
    • 1

    Information

    ID
    131
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    24
    Accepted
    11
    Uploaded By