2 solutions

  • -2
    @ 2025-8-18 13:51:48
    #include<bits/stdc++.h>
    using namespace std;
    int n;
    int main(){
    	cin>>n;
    	int bai=n/3600;
    	int shi=n/60%60;
    	int ge=n%60;
    	cout<<setw(2)<<setfill('0')<<bai<<":"<<setw(2)<<setfill('0')<<shi<<":"<<setw(2)<<setfill('0')<<ge;
    	
    	
    	
    	return 0;
    }
    
  • -3
    @ 2025-10-18 14:38:23

    hao lan

    • 1

    Information

    ID
    2822
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    3
    Tags
    # Submissions
    107
    Accepted
    37
    Uploaded By