有1说1 我这个应该是最简单粗暴的解法了吧!!! import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ String str = sc.nextLine(); String[] strs = str.split("/"); int num = Integer.pa...