input(int) -> 字符串数组 -> 逆序添加到新的字符串out -> output(int) import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int input = sc.nextInt(); int output = new Solution().update(input); System.out.print...