暴力递归:对于一个玩家,有两种选择:先手或者后手; 分先手函数和后手函数; import java.util.*; import java.lang.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int[] arr = new int[N]; for(int i = 0; i < N; i++){ ...