摘要: 题目比较简单,实现一个复数乘法,输入输出都要求为字符串形式 大部分时间都花在写正则匹配实部和虚部了 两个复数 $a + bi$, $c + di$ $(a + bi) (c + di) = (ac bd) + (bc + ad)i$ 使用三个辅助变量 $$\begin{cases} t_1 = (a 阅读全文
posted @ 2018-07-20 17:42 arcsinW 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 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 " 阅读全文
posted @ 2018-07-20 11:38 arcsinW 阅读(151) 评论(0) 推荐(0) 编辑