题解 | 单组_补充前导零
单组_补充前导零
https://www.nowcoder.com/practice/c5b1fb6a4b1644e590b49a4cbca7930e
import java.util.Scanner;
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
// 注意 hasNext 和 hasNextLine 的区别
long a = in.nextLong();
System.out.printf("%09d",a);
}
}
