pragma solidity ^0.4.24;


contract ArrayInitCheck {
    function initCheck(uint a) public view returns(uint) {
        uint sgas = gasleft();
        uint[] memory _array = new uint[](a);
        return sgas - gasleft();
    }
}