import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long a=sc.nextLong();
long b=a%(1000*60*60*24);
b=b/1000;
long c=b/(60*60);
//小时1
long d=(b%(60*60))/60;
//分钟
long e=b%60;
//秒
System.out.printf("%02d:",c);
System.out.printf("%02d:",d);
System.out.printf("%02d\n",e);
}
}
蓝桥杯-时间显示
于 2022-03-08 14:13:19 首次发布