表示数字
来源:互联网 发布:洛阳达内大数据培训 编辑:程序博客网 时间:2024/04/29 20:28
#include<bits/stdc++.h>using namespace std;int main(){ string a; while(getline(cin,a)!=NULL) { string b; for(int i=0; i<a.size(); i++) if(a[i]<='9'&&a[i]>='0') { b+='*'; while(i<a.size()&&a[i]<='9'&&a[i]>='0')b+=a[i],i++; i--; b+='*'; } else b+=a[i]; cout<<b<<endl; } return 0;}
阅读全文
0 0
- 表示数字
- 表示数字
- 表示数字
- 表示数字
- 表示数字
- 表示数字
- 数字表示Linux权限
- 颜色的数字表示
- 颜色数字表示
- excel列头用数字表示
- #数字表示什么
- 正则表达式表示数字
- 数字转中文表示
- 手指数字表示
- 【华为OJ】表示数字
- 数字表示的电容
- 华为oj 表示数字
- 【华为 OJ 】表示数字
- Codeforces Round #418 (Div. 2)
- java集合
- spring_demo7_springmvc
- 图像处理之二值化图像
- Java设计模式(三)——建造者模式
- 表示数字
- 06章总结
- 安卓 OpenGL ES 2.0 完全入门(一):基本概念和 hello world
- Webpack打包原理
- 蛇形填数
- ubuntu14中文显示乱码的问题
- UIImageview 拉伸
- leetcode 13. Roman to Integer
- LIst(“”) 长度为1 ?????