class Solution {
public:
    /**
     * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可
     *
     * 
     * @param numbers int整型vector 
     * @return bool布尔型
     */
    bool IsContinuous(vector<int>& numbers) {
        int zero=0;
        int replicate=0;
        int max=-1;
        int min=13;
        int arr[14]={0};
        for(auto x:numbers)
        {
            if(x==0)
            {
                zero+=1;
            }
            else{
                if(arr[x]==1)
                {
                    return false;
                }
                else{
                    arr[x]+=1;
                }
                if(x>max)
                {
                    max=x;
                }
                if(x<min)
                {
                    min=x;
                }
            }
        }
        if(zero>=(max-min-1))
        {
            return true;
        }
        else{
            if(3==(max-min-1))
            {
                return true;
            }
        }
        return false;
    }
};