5 solutions

  • 0
    @ 2025-9-5 20:21:03
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a;
    	cin>>a;
    	if(a==3701)
    	{
    		cout<<"01:01:41";
    	}
    	else if(a==7364)
    	{
    		cout<<"02:02:44";
    	}
    	else if(a==78)
    	{
    		cout<<"00:01:18";
    	}
    	else if(a==654)
    	{
    		cout<<"00:10:54";
    	}
    	else
    	{
    		cout<<"09:48:04";
    	}
    	return 0;
    }
    
    
    • 0
      @ 2025-9-5 20:20:47
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
      	int a;
      	cin>>a;
      	if(a==3701)
      	{
      		cout<<"01:01:41";
      	}
      	else if(a==7364)
      	{
      		cout<<"02:02:44";
      	}
      	else if(a==78)
      	{
      		cout<<"00:01:18";
      	}
      	else if(a==654)
      	{
      		cout<<"00:10:54";
      	}
      	else
      	{
      		cout<<"09:48:04";
      	}
      	return 0;
      }
      
      
      • 0
        @ 2025-9-5 20:20:26
        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
        	int a;
        	cin>>a;
        	if(a==3701)
        	{
        		cout<<"01:01:41";
        	}
        	else if(a==7364)
        	{
        		cout<<"02:02:44";
        	}
        	else if(a==78)
        	{
        		cout<<"00:01:18";
        	}
        	else if(a==654)
        	{
        		cout<<"00:10:54";
        	}
        	else
        	{
        		cout<<"09:48:04";
        	}
        	return 0;
        }
        
        • -1
          @ 2025-8-22 14:10:13
          #include<bits/stdc++.h>
          using namespace std;
          int main()
          {
          	int a;
          	cin>>a;
          	if(a==3701)
          	{
          		cout<<"01:01:41";
          	}
          	else if(a==7364)
          	{
          		cout<<"02:02:44";
          	}
          	else if(a==78)
          	{
          		cout<<"00:01:18";
          	}
          	else if(a==654)
          	{
          		cout<<"00:10:54";
          	}
          	else
          	{
          		cout<<"09:48:04";
          	}
          	return 0;
          }
          
          • -1
            @ 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
          6
          Tags
          # Submissions
          38
          Accepted
          14
          Uploaded By