第一题 暴力解: import java.util.Scanner; public class Main {     public static void main(String[] args) {         Scanner input = new Scanner(System.in);         int n = input.nextInt();         int temp = 0;         for (Integer i = 2; i < Integer.MAX_VALUE; i ++ ) {             String tmp = i.toString();             tmp = tmp.replace("2","").replace("3", "").replace("5", "");             if (tmp.length() == 0) {                 temp++;             }             if (temp == n) {                 System.out.println(i);                 break;             }         }     } }