当前位置:网站首页>Leetcode exercise 3 - palindromes
Leetcode exercise 3 - palindromes
2022-07-28 22:46:00 【But the sky is cold_ Good autumn】
bool isPalindrome(int x) {
if(x < 0)
return false;
long long n = 0;
int m = x;
while(0 != m)
{
n = n * 10 + m % 10;
m = m / 10;
}
return x == n;
}
边栏推荐
- hp proliant dl380从U盘启动按哪个键
- es个人整理的相关面试题
- Ocr-gan [anomaly detection: Reconstruction Based]
- 近期bug总结
- Image is referred in multiple repositories
- STM32 - interrupt overview (interrupt priority)
- How do we do full link grayscale on the database?
- Stm32+ four pin OLED screen + Chinese character mold taking
- Analysis notes on let (const) temporary dead zone in JS
- Evaluation index of anomaly detection: rocauc et al. [tips]
猜你喜欢
Imx6q GPIO multiplexing
B站713故障后的多活容灾建设|TakinTalks大咖分享
Draem+sspcab [anomaly detection: block]
UNET [basic network]
Att & CK Threat Intelligence
CFA [anomaly detection: embedded_based]
Qt+ffmpeg environment construction
【三维目标检测】3DSSD(一)
PaddleNLP基于ERNIR3.0文本分类以CAIL2018-SMALL数据集罪名预测任务为例【多标签】
Gd32f303 firmware library development (10) -- dual ADC polling mode scanning multiple channels
随机推荐
Binary source code, inverse code, complement code
hp proliant dl380从U盘启动按哪个键
LVS+KeepAlived高可用部署实战应用
Imx6q GPIO multiplexing
WinForm jump to the second form case
OSV-q grd_ x=grd_ x[:, :, 0:-1, :]-data_ in[:, :, 1:, :]IndexError: too many indices for tensor of d
JS get the current time (year month day hour minute second)
CFA [anomaly detection: embedded_based]
Quadruped robot | gem (elevation map) + fast_ Deployment records of Leo (odometry) environment
STM32 - DMA direct memory access controller (cubemx configures DMA)
Labelme labels circular objects [tips]
Redis related
二进制的原码、反码、补码
STM32 - advanced control timer (time base unit, functional block diagram, input, capture, output, open circuit)
MKD [anomaly detection: knowledge disruption]
Paper reading: deep forest / deep forest /gcforest
[get mobile information] - get mobile information through ADB command
[connect your mobile phone wirelessly] - debug your mobile device wirelessly via LAN
ES6 concept
从 IPv4 向 IPv6 的迁移