这明显语法错误。参考以下代码修改
\begin{table}[h]
\centering
\caption{各自变量对病毒速率的影响因子}
\label{tab:my_label}
\begin{tabular}{|c | ccccc|}
\hline
\multicolumn{1}{|c|}{病毒名称} & \multicolumn{5}{c|}{影响因子}\\
\hline
Sars & 1 & 2 & 3 & 4 & 5\\
\hline
\end{tabular}
\end{table}
texstudio中代码编译错误。
可以参考这篇文章进行修改。
https://ask.latexstudio.net/ask/question/3502.html
语法问题吧,第一行就错了