The state’s total expenses for the three months to the end of September hit $24.9 billion, an increase of $1.8 billion compared with the same time last year.