全部评论 3

  • 6

    2024-10-26 来自 四川

    2
  • 答案:

    #include<iostream>
    using namespace std;
    int main(){
        int t;
        cin>>t;
        if(t/3600<10){
            cout<<"0";
        }
        cout<<t/3600<<":";
        if(t%3600/60<10){
            cout<<"0";
        }
        cout<<t%3600/60<<":";
        if(t%3600%60<10){
            cout<<"0";
        }
        cout<<t%3600%60;
    }
    

    2025-02-04 来自 浙江

    1
  • 2026-05-08 来自 湖北

    0

热门讨论