当前位置:网站首页>Leetcode 504. 七进制数
Leetcode 504. 七进制数
2022-07-26 09:49:00 【我不是萧海哇~~~~】
给定一个整数 num,将其转化为 7 进制,并以字符串形式输出。
示例 1:
输入: num = 100
输出: "202"
示例 2:
输入: num = -7
输出: "-10"
提示:
- -10^ 7 <= num <= 10^7
Code:
class Solution
边栏推荐
- B站这个视频我是跪着看完的
- Node 内存溢出及V8垃圾回收机制
- Login module use case writing
- The use of MySQL in nodejs
- Gauss elimination solves the inverse of matrix (Gauss)
- 2020-12-29
- Docker configuring MySQL Cluster
- JS one line code to obtain the maximum and minimum values of the array
- Use of OpenCV class
- QT handy notes (II) edit control and float, qstring conversion
猜你喜欢
Uni app learning summary
Unstoppable, pure domestic PCs have been in place, and the monopoly of the U.S. software and hardware system has been officially broken
Azkaban [basic knowledge 01] core concepts + features +web interface + Architecture +job type (you can get started with Azkaban workflow scheduling system in one article)
服务器内存故障预测居然可以这样做!
挡不住了,纯国产PC已就位,美国的软硬件体系垄断正式被破
图解用户登录验证流程,写得太好了!
Matlab Simulink realizes fuzzy PID control of time-delay temperature control system of central air conditioning
开发转测试:从0开始的6年自动化之路...
AR model in MATLAB for short-term traffic flow prediction
Fuzzy PID control of motor speed
随机推荐
POJ 1012 Joseph
【信息系统项目管理师】初见高项系列精华汇总
学习笔记之常用数组api 改变原数组和不改变原数组的有哪些?
QT handy notes (II) edit control and float, qstring conversion
官方颁发的SSL证书与自签名证书结合实现网站双向认证
Login module use case writing
I finished watching this video on my knees at station B
Azkaban [basic knowledge 01] core concepts + features +web interface + Architecture +job type (you can get started with Azkaban workflow scheduling system in one article)
E. Two Small Strings
mfc随手笔记
服务发现原理分析与源码解读
QT随手笔记(六)——更新界面、截图、文件对话框
莫队学习笔记(一)
The problem of accessing certsrv after configuring ADCs
A new paradigm of distributed deep learning programming: Global tensor
Gauss elimination
[MySQL database] a collection of basic MySQL operations - the basis of seeing (adding, deleting, modifying, and querying)
Phpexcel export Emoji symbol error
Search module use case writing
服务器、客户端双认证(2)