当前位置:网站首页>Leetcode537. 复数乘法(可以,已解决)
Leetcode537. 复数乘法(可以,已解决)
2022-07-26 01:18:00 【我不是萧海哇~~~~】

复数 可以用字符串表示,遵循 “实部+虚部i” 的形式,并满足下述条件:
- 实部 是一个整数,取值范围是 [-100, 100]
- 虚部 也是一个整数,取值范围是 [-100, 100]
- i2 == -1
给你两个字符串表示的复数 num1 和 num2 ,请你遵循复数表示形式,返回表示它们乘积的字符串。
示例 1:
输入:num1 = "1+1i", num2 = "1+1i"
输出:"0+2i"
解释:(1 + i) * (边栏推荐
猜你喜欢

Win11打不开自带杀毒软件怎么办?win11自带杀毒功能打不开

NIO简易示例

How does the proxy IP server ensure its information security in the network

Mulda: a multilingual data augmentation framework for low resource cross linguistic ner reading notes

1.30 升级bin文件添加后缀及文件长度

【Code】剑指offer 03数组中重复的数字

How accurate is the IP address? What are dynamic IP and static IP? The most common method of switching IP

聚势|海泰方圆亮相第五届数字中国建设峰会

Docker高级篇-Mysql主从复制

Browser development and use skills
随机推荐
Android SQLite first groups and then sorts left concatenated queries
Linked list related interview questions
Machine learning: Bayesian Networks
服务器可用资源查询脚本
How to copy and paste QT? (QClipboard)
《nlp入门+实战:第三章:梯度下降和反向传播 》
iNFTnews | 假如这是元宇宙20年后的样子
The application and principle of changing IP software are very wide. Four methods of dynamic IP replacement are used to protect network privacy
android sqlite先分组后排序左连查询
Small sample learning - getting started
[ickim 2022] the Fourth International Conference on knowledge and information management
[RTOS training camp] problems of evening students
API测试简介
Fundamentals of MATLAB shift operation
What is informatization? What is digitalization? What are the connections and differences between the two?
Case when of SQL
What are the ways to quickly improve programming skills in the process of programming learning?
Some abnormal error reports and precautions of flowable (1)
【ctf】Crypto初步基础概要
Paged query design of scenarios