题解 | #时间转换#
时间转换
http://www.nowcoder.com/practice/c4ae7bcac7f9491b8be82ee516a94899
import java.util.Scanner; import java.lang.String; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int x=sc.nextInt(); System.out.println(x/3600+" "+(x%3600/60)+" "+x%3600%60); } }