import java.util.Scanner;
import java.util.prefs.BackingStoreException;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
int h = 0 ;
int m = 0 ;
int s = 0 ;
while(true){
if( t >= 3600 ){
t -= 3600;
h++;
}else if( t >= 60 ){
t -=60;
m++;
}else{
s = t ;
break;
}
}
System.out.println(h+":"+m+":"+s);
}
}
时间转换
最新推荐文章于 2018-09-16 00:18:06 发布