public boolean isAdditiveNumber(String num) {
        //if(Double.valueOf(num)>Integer.MAX_VALUE) return false;
        boolean[]arr=new boolean[num.length()];
        for(int i=num.length()-1;i>=0;--i){
            calculate(num,arr,i);
        }
        return arr[0];
    }