思路分析:rgb[]数组保存的时三种颜色的小球个数,count统计小球的总个数,ans统计的是方案总数
import java.util.*;
public class Mian{
static int rgb[]=new int[3];
static int count=0;
static int ans=0;//统计总的方案数
思路分析:rgb[]数组保存的时三种颜色的小球个数,count统计小球的总个数,ans统计的是方案总数
import java.util.*;
public class Mian{
static int rgb[]=new int[3];
static int count=0;
static int ans=0;//统计总的方案数