摘要:
题目比较简单,实现一个复数乘法,输入输出都要求为字符串形式 大部分时间都花在写正则匹配实部和虚部了 两个复数 $a + bi$, $c + di$ $(a + bi) (c + di) = (ac bd) + (bc + ad)i$ 使用三个辅助变量 $$\begin{cases} t_1 = (a 阅读全文
摘要:
Description International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to " 阅读全文