Here (equilibrium constant) is referred to as the partial pressure of product divided by the partial pressure of reactant with each pressure term raised to power that is equal to its stoichiometric coefficient in balanced equation
.
As such only gas appear in expression as solids takes a value of 1;