算法 博弈問題 取球問題 java

package com.test.zx; public class BoyiDemo { public static void main(String[]args){ System.out.println(f(10)); } public static boolean f(int n){//n爲當前所剩球的數目 if(n>=1&&f(n-1)==false){ return
相關文章
相關標籤/搜索