标签:system.in pre form span ber orm 表示 ring arraylist
1 import java.text.DecimalFormat; 2 import java.text.NumberFormat; 3 import java.util.ArrayList; 4 import java.util.Scanner; 5 6 public class Main{ 7 public static void main(String[] args){ 8 Scanner input = new Scanner(System.in); 9 int a = input.nextInt(); 10 int s=0,m=0,h = 0; 11 s = a%60; 12 a = a/60; 13 m = a%60; 14 a = a/60; 15 h = a; 16 System.out.println(h+":"+m+":"+s); 17 } 18 }
标签:system.in pre form span ber orm 表示 ring arraylist
原文地址:http://www.cnblogs.com/lolybj/p/6509328.html