当前位置:网站首页>Leetcode537. Complex multiplication (yes, solved)
Leetcode537. Complex multiplication (yes, solved)
2022-07-26 01:19:00 【I'm not Xiao Haiwa~~~~】

The plural Can be expressed as a string , follow “ Real component + Imaginary part i” In the form of , And meet the following conditions :
- Real component It's an integer , The value range is [-100, 100]
- Imaginary part It's also an integer , The value range is [-100, 100]
- i2 == -1
Give you a complex number represented by two strings num1 and num2 , Please follow the plural form , Returns a string representing their product .
Example 1:
Input :num1 = "1+1i", num2 = "1+1i"
Output :"0+2i"
explain :(1 + i) * (边栏推荐
- The second China rust developer conference is coming, and the complete agenda has been exposed!
- Optimization of tableview
- 《分布式微服务电商》专题(一)-项目简介
- Detailed explanation of at and crontab commands of RHCE and deployment of Chrony
- Four common simple and effective methods for changing IP addresses
- IP地址能精确到哪步?动态IP及静态IP是什么?切换IP最常用的方法
- 《nlp入门+实战:第三章:梯度下降和反向传播 》
- How accurate is the IP address? What are dynamic IP and static IP? The most common method of switching IP
- 换ip软件的用途很广及原理 动态IP更换的四种方法来保护网络隐私
- [RTOS training camp] I2C and UART knowledge and preview arrangement + evening class questions
猜你喜欢

What is informatization? What is digitalization? What are the connections and differences between the two?

RHCE之at和crontab命令详解及chrony部署

Zero copy of network file transfer

两阶段提交和三阶段提交

第二届中国Rust开发者大会来啦,完整议程大曝光!

【秒杀概念】大小端

MDK编译过程及ARM编译工具链
![[data mining] differences, advantages and disadvantages between generative model and discriminant model](/img/a4/3dba2ba9fa0fe3062f17aea2bfae47.png)
[data mining] differences, advantages and disadvantages between generative model and discriminant model

What is the dynamic IP address? Why do you recommend dynamic IP proxy?

What are the ways to quickly improve programming skills in the process of programming learning?
随机推荐
1.30 upgrade bin file, add suffix and file length
网络文件传输之零拷贝
如何获取广告服务流量变现数据,助力广告效果分析?
What are the ways to quickly improve programming skills in the process of programming learning?
换ip软件的用途很广及原理 动态IP更换的四种方法来保护网络隐私
Tutorial on principles and applications of database system (054) -- MySQL query (16): usage of date time function
NodeJS 基于 Dapr 构建云原生微服务应用,从 0 到 1 快速上手指南
Zero copy of network file transfer
[Jizhong] July 16, 2022 1432. Oil pipeline
点屏注意事项
ORACLE——iSupplier 门户开票错误
当博客被黑客攻击时该怎么办?
Detailed explanation of rest assured interface testing framework
The application and principle of changing IP software are very wide. Four methods of dynamic IP replacement are used to protect network privacy
Half of the people in the country run in Changsha. Where do half of the people in Changsha run?
"Introduction to natural language processing practice" deep learning foundation - attention mechanism, transformer deep analysis and learning material summary
What is the dynamic IP address? Why do you recommend dynamic IP proxy?
数据库系统原理与应用教程(057)—— MySQL 练习题
Redis数据结构详解,结合书本
《分布式微服务电商》专题(一)-项目简介