卡常系列-序言
Ruiqun2009
·
·
个人记录
以后这个系列会不断更新,读者们可以私信我。
每个卡常技巧都有类似这样的名片:
\def{\A}{\colorbox{#52C41A}{\color{white}\texttt{Yes}}}
\def{\U}{\colorbox{#E74C3C}{\color{white}\texttt{No}}}
\def\arraystretch{1}\begin{array}{|l|l|}
\texttt{name}&\text{Barrett Reduction(非固定模数)}\\
\texttt{usage}&\text{加速取模}\\
\texttt{avaliable under -O0}&\A\\
\texttt{avaliable under -O2}&\A\\
\texttt{avaliable under -Ofast}&\A\\
\end{array}
效果:
\def{\A}{\colorbox{#52C41A}{\color{white}\texttt{Yes}}}
\def{\U}{\colorbox{#E74C3C}{\color{white}\texttt{No}}}
\def\arraystretch{1}\begin{array}{|l|l|}
\texttt{name}&\text{Barrett Reduction(非固定模数)}\\
\texttt{usage}&\text{加速取模}\\
\texttt{avaliable under -O0}&\A\\
\texttt{avaliable under -O2}&\A\\
\texttt{avaliable under -Ofast}&\A\\
\end{array}
\def{\A}{\colorbox{#52C41A}{\color{white}\texttt{Yes}}}
\def{\U}{\colorbox{#E74C3C}{\color{white}\texttt{No}}}
\def\arraystretch{1}\begin{array}{|l|l|}
\texttt{name}&\text{Barrett Reduction(固定模数)}\\
\texttt{usage}&\text{加速取模}\\
\texttt{avaliable under -O0}&\U\\
\texttt{avaliable under -O2}&\U\\
\texttt{avaliable under -Ofast}&\U\\
\end{array}