The 7th Zhejiang Provincial Collegiate Programming Contest-Problem B:B - Somali Pirates
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3323
题意:去掉字符串里面的数字然后按输入顺序输出
1 #include<bits/stdc++.h> 2 using namespace std; 3 4 int main(){ 5 int t; 6 cin>>t; 7 while(t--){ 8 string aa; 9 cin>>aa; 10 for(int i=0;i<aa.length();i++){ 11 if(aa[i]<'0'||aa[i]>'9') 12 printf("%c",aa[i]); 13 } 14 cout<<endl; 15 } 16 return 0; 17 }
转载于:https://www.cnblogs.com/zhien-aa/p/5221983.html
The 7th Zhejiang Provincial Collegiate Programming Contest-Problem B:B - Somali Pirates相关推荐
- 2019 浙江省赛部分题解(The 16th Zhejiang Provincial Collegiate Programming Contest Sponsored by TuSimple)
签到题 GLucky 7 in the Pocket Time Limit: 1 Second Memory Limit: 65536 KB BaoBao loves number 7 bu ...
- The 16th Zhejiang Provincial Collegiate Programming Contest Sponsored by TuSimple
Problem A Vertices in the Pocket 比赛地址:http://acm.zju.edu.cn/onlinejudge/showContestProblem.do?proble ...
- The 19th Zhejiang Provincial Collegiate Programming Contest
文章目录 [A.JB Loves Math](https://codeforces.com/gym/103687/problem/A) [B.JB Loves Comma](https://codef ...
- ZOJ 142 - The 14th Zhejiang Provincial Collegiate Programming Contest Sponsored by TuSimple - D
Let's Chat Time Limit: 1 Second Memory Limit: 65536 KB ACM (ACMers' Chatting Messenger) is a famous ...
- The 11th Zhejiang Provincial Collegiate Programming Contest
Problem Arrangement(状态压缩+递推) http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3777 题意:输入 ...
- The 12th Zhejiang Provincial Collegiate Programming Contest - I Earthstone Keeper浙江省赛
题目:http://acm.zju.edu.cn/onlinejudge/showContestProblem.do?problemId=5501 思路:DFS,用了递归就溢出,所以可能得用非递归的. ...
- 【ZJCPC2018 第15届 浙江省赛】The 15th Zhejiang Provincial Collegiate Programming Contest(MABLJK 6题)
补题地址:https://zoj.pintia.cn/home/news 搜索15th 本文按照通过率补的题 M. Lucky 7 题意:如果存在从给出的长为n的序列中选择一个数+b 可以被7整除,就 ...
- 【ZJCPC2019 第16届 浙江省赛】The 16th Zhejiang Provincial Collegiate Programming Contest(GFHIJ 5题)
补题地址:https://zoj.pintia.cn/home/news 搜索16th 本文按照通过率补的题 G .Lucky 7 in the Pocket 题意:给出T个数,对于每个数,找出一个能 ...
- The 10th Zhejiang Provincial Collegiate Programming Contest 蒻菜的水题题解。
http://acm.zju.edu.cn/onlinejudge/contestInfo.do?contestId=347 今天参加了今年的浙江省赛网络同步赛(?),被虐得很惨... 做了五道水题只 ...
- HZNU Training 2 for Zhejiang Provincial Collegiate Programming Contest 2019
赛后总结: T:今天下午参加了答辩比赛,没有给予队友很大的帮助.远程做题的时候发现队友在H上遇到了挫折,然后我就和她们说我看H吧,她们就开始做了另外两道题.今天一人一道题.最后我们在研究一道dp的时候 ...
最新文章
- java struts2 安全漏洞 devMode 简介
- C#语法:正则表达式 --Trim()的实现
- Zookeeper基于Java访问-节点事件监听
- Windows Server 2003 群集配置测试
- linux系统下RocketMQ的集群搭建
- python计算蛋白质的质量
- Java多线程(三)——多线程实现同步
- python ftp timeout_Python ftp client 处理含有中文的文件名详解
- 《PHP基础教程》pdf
- 样条曲线(spline)
- cadence SPB17.4 - export placement file to openpnp
- HTML代码中中逗号和句号怎么写,逗号和句号的用法
- vs2017 错误:当前页面的脚本发生错误
- springSecurity之http Basic认证
- PMP学习考试感悟之——坚持、努力是唯一法宝
- 如何用Excel制作工作计划,跟踪任务进度,快来学习吧
- shell编程常用命令总结(二)
- [UE5 C++] 免费安装JetBrains Mono字体至IDE
- 【数据结构与算法】task3 排序二分查找
- 一九产业AI速写:工业篇
热门文章
- 为何吾博客周排名没有数字显示?
- 解决办法:undefined reference to symbol '_ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3
- redirect重定向中可以带参数吗_关于Laravel重定向的七种方法详解
- Arduino 函数-IO输出输入
- C# Excel 删除指定的工作表
- c++ 4种新型的类型static_cast、dynamic_cast、reinterpret_cast、const_cast转换运算符
- c语言井字棋二维数组,【C语言】简单实现三子棋(井字棋)小游戏
- k8s kafka集群 连接不上_k8s利用statefulset部署kafka集群(依赖zookeeper)
- 电脑连接路由器后无法上网_路由器如何连接电脑 无线路由器与电脑连接步骤【图文】...
- c oracle案例,Oracle 19c CRS重启案例记录