当前位置:网站首页>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;
}
边栏推荐
- Yyds dry goods inventory three JS source code interpretation eventdispatcher
- Erc20 token agreement
- Analysis of pointer and array written test questions
- 数据治理:主数据的3特征、4超越和3二八原则
- File upload of DVWA range
- Introduction to backup and recovery Cr
- 让学指针变得更简单(三)
- P3047 [usaco12feb]nearby cows g (tree DP)
- How to use information mechanism to realize process mutual exclusion, process synchronization and precursor relationship
- . Net 6 learning notes: what is NET Core
猜你喜欢
23. Update data
[count] [combined number] value series
Understanding of law of large numbers and central limit theorem
Interview Reply of Zhuhai Jinshan
Artcube information of "designer universe": Guangzhou implements the community designer system to achieve "great improvement" of urban quality | national economic and Information Center
[research materials] 2021 Research Report on China's smart medical industry - Download attached
Résumé des diagrammes de description des broches de la série ESP
Step by step guide to setting NFT as an ens profile Avatar
Secure captcha (unsafe verification code) of DVWA range
[factorial inverse], [linear inverse], [combinatorial counting] Niu Mei's mathematical problems
随机推荐
From monomer structure to microservice architecture, introduction to microservices
备份与恢复 CR 介绍
Analysis of Top1 accuracy and top5 accuracy examples
Common functions for PHP to process strings
Pangolin Library: control panel, control components, shortcut key settings
ESP系列引脚说明图汇总
2.10transfrom attribute
Oracle time display adjustment
Go learning notes (3) basic types and statements (2)
你想知道的ArrayList知识都在这
Introduction to number theory (greatest common divisor, prime sieve, inverse element)
数据治理:主数据的3特征、4超越和3二八原则
matplotlib. Widgets are easy to use
National economic information center "APEC industry +": economic data released at the night of the Spring Festival | observation of stable strategy industry fund
Nc204382 medium sequence
JS select all and tab bar switching, simple comments
Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation
Hill sort c language
Parameter self-tuning of relay feedback PID controller
07- [istio] istio destinationrule (purpose rule)