Codewars. Insane Coloured Triangles(计数)
给定长为$n$的RGB序列,每次变换,序列中所有相邻的两个字符会产生一个字符(即每次总长度减1)。求$n-1$次变换后剩下的那个字符是多少。
$n\leq 10^5/10^9$。
------------------------------------------------------------------------------------------------------------------------
很久以前的奇怪但现在依旧成立的签名
attack is our red sun $$\color{red}{\boxed{\color{red}{attack\ is\ our\ red\ sun}}}$$ ------------------------------------------------------------------------------------------------------------------------
很久以前的奇怪但现在依旧成立的签名
attack is our red sun $$\color{red}{\boxed{\color{red}{attack\ is\ our\ red\ sun}}}$$ ------------------------------------------------------------------------------------------------------------------------