using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace time //将以秒为单位的时间长度转换为以时、分、秒为单位的值
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("请输入以秒为单位的时间长度:");
string str = Console.ReadLine();
int time = Int32.Parse(str);
int h = time / 3600;
int m = (time - h * 3600) / 60;
int s = time - h * 3600 - m * 60;
Console.WriteLine("拆分后为{0}小时{1}分钟{2}秒钟",h,m,s);
}
}
}