The 7th Zhejiang Provincial Collegiate Programming Contest->Problem B:B - Somali Pirates
2016-07-14 17:46
447 查看
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3323
题意:去掉字符串里面的数字然后按输入顺序输出
题意:去掉字符串里面的数字然后按输入顺序输出
#include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ string aa; cin>>aa; for(int i=0;i<aa.length();i++){ if(aa[i]<'0'||aa[i]>'9') printf("%c",aa[i]); } cout<<endl; } return 0; }
相关文章推荐
- mysql数据主从同步失败解决方案
- The7th Zhejiang Provincial Collegiate Programming Contest->Problem A:A - Who is Older?
- The 6th Zhejiang Provincial Collegiate Programming Contest->ProblemK:K-Nice
- The 6th Zhejiang Provincial Collegiate Programming Contest->Problem I:A Stack or A Queue?
- Java-break和continue
- The 6th Zhejiang Provincial Collegiate Programming Contest->ProblemF:80ers' Memory
- The 6th Zhejiang Provincial Collegiate Programming Contest->ProblemB:Light Bulb
- The 6th Zhejiang Provincial Collegiate Programming Contest->ProblemA:Second-price Auction
- 剑指offer之面试题22:栈的压入、弹出序列
- Tomcat 7.0 安装 虚拟目录 虚拟主机讲解
- 使用C#验证IOS9产生的ECDSA签名
- Redis安装入门
- The 5th Zhejiang Provincial Collegiate Programming Contest------ProblemA:Accurately Say "CocaCola"!
- jquery发送Ajax(POST方法)
- 文件删除需要管理员权限
- 更新驱动后,Aero特效消失
- 网桥 路由器 网关
- PHP 调用IE执行程序
- The dependency `****` is not used in any concrete target问题解决方案
- javax.json JSON字符串操作