当前位置:网站首页>String to leading 0
String to leading 0
2022-07-06 08:12:00 【. dye】
string qu0(string a)
{ ll n;
if(a.size()>=2&&a[0]=='0')
{ n=a.size();
for(int i=0;i<n;i++)
{ if(a[i]!='0')break;
else{a.erase(a.begin());i--;}
}
}
return a;
}
边栏推荐
- Migrate data from a tidb cluster to another tidb cluster
- Secure captcha (unsafe verification code) of DVWA range
- 使用 Dumpling 备份 TiDB 集群数据到兼容 S3 的存储
- Epoll and IO multiplexing of redis
- Use Alibaba icon in uniapp
- Common functions for PHP to process strings
- Database basic commands
- "Friendship and righteousness" of the center for national economy and information technology: China's friendship wine - the "unparalleled loyalty and righteousness" of the solidarity group released th
- Interview Reply of Zhuhai Jinshan
- Remote storage access authorization
猜你喜欢
ESP系列引脚说明图汇总
Yyds dry goods inventory three JS source code interpretation eventdispatcher
Wincc7.5 download and installation tutorial (win10 system)
A Closer Look at How Fine-tuning Changes BERT
Asia Pacific Financial Media | "APEC industry +" Western Silicon Valley invests 2trillion yuan in Chengdu Chongqing economic circle to catch up with Shanghai | stable strategy industry fund observatio
File upload of DVWA range
[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached
[research materials] 2021 Research Report on China's smart medical industry - Download attached
[Yugong series] February 2022 U3D full stack class 011 unity section 1 mind map
21. Delete data
随机推荐
On why we should program for all
Go learning notes (3) basic types and statements (2)
"Designer universe" Guangdong responds to the opinions of the national development and Reform Commission. Primary school students incarnate as small community designers | national economic and Informa
Interview Reply of Zhuhai Jinshan
Uibehavior, a comprehensive exploration of ugui source code
21. Delete data
ESP series pin description diagram summary
使用 Dumpling 备份 TiDB 集群数据到兼容 S3 的存储
使用 TiDB Lightning 恢复 S3 兼容存储上的备份数据
远程存储访问授权
让学指针变得更简单(三)
从 SQL 文件迁移数据到 TiDB
指针和数组笔试题解析
Upgrade tidb with tiup
Artcube information of "designer universe": Guangzhou implements the community designer system to achieve "great improvement" of urban quality | national economic and Information Center
Codeforces Global Round 19(A~D)
How to use information mechanism to realize process mutual exclusion, process synchronization and precursor relationship
Use dumping to back up tidb cluster data to S3 compatible storage
matplotlib. Widgets are easy to use
C language - bit segment