\arrayrulecolor{\bordercolor}\begin{longtable}{|S{>{\centering\arraybackslash}p{2cm}}|Sc|} \hline\rowcolor{\fstlinecolor}\textcolor{\txtfstlinecolor}{$\pmb{k}$} & \textcolor{\txtfstlinecolor}{$\pmb{P(X\leqslant k)}$} \\ \hline9&     0.012709\\ \hline \rowcolor{\bkcolor}10&     0.028443\\ \hline 11&     0.057051\\ \hline 12&     0.103537\\ \hline $\vdots$ & $\vdots$\\ \hline21&     0.924433\\ \hline 22&     0.957616\\ \hline \rowcolor{\bkcolor}23&     0.977814\\ \hline 24&     0.989175\\ \hline \end{longtable}