2 solutions

  • 1
    @ 2025-10-18 14:38:23

    hao lan

    • 0
      @ 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;
      }
      
    • 1

    Information

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