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相关推荐

  1. 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 ...

  2. 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 ...

  3. The 19th Zhejiang Provincial Collegiate Programming Contest

    文章目录 [A.JB Loves Math](https://codeforces.com/gym/103687/problem/A) [B.JB Loves Comma](https://codef ...

  4. 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 ...

  5. The 11th Zhejiang Provincial Collegiate Programming Contest

    Problem Arrangement(状态压缩+递推) http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3777 题意:输入 ...

  6. The 12th Zhejiang Provincial Collegiate Programming Contest - I Earthstone Keeper浙江省赛

    题目:http://acm.zju.edu.cn/onlinejudge/showContestProblem.do?problemId=5501 思路:DFS,用了递归就溢出,所以可能得用非递归的. ...

  7. 【ZJCPC2018 第15届 浙江省赛】The 15th Zhejiang Provincial Collegiate Programming Contest(MABLJK 6题)

    补题地址:https://zoj.pintia.cn/home/news 搜索15th 本文按照通过率补的题 M. Lucky 7 题意:如果存在从给出的长为n的序列中选择一个数+b 可以被7整除,就 ...

  8. 【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个数,对于每个数,找出一个能 ...

  9. The 10th Zhejiang Provincial Collegiate Programming Contest 蒻菜的水题题解。

    http://acm.zju.edu.cn/onlinejudge/contestInfo.do?contestId=347 今天参加了今年的浙江省赛网络同步赛(?),被虐得很惨... 做了五道水题只 ...

  10. HZNU Training 2 for Zhejiang Provincial Collegiate Programming Contest 2019

    赛后总结: T:今天下午参加了答辩比赛,没有给予队友很大的帮助.远程做题的时候发现队友在H上遇到了挫折,然后我就和她们说我看H吧,她们就开始做了另外两道题.今天一人一道题.最后我们在研究一道dp的时候 ...

最新文章

  1. java struts2 安全漏洞 devMode 简介
  2. C#语法:正则表达式 --Trim()的实现
  3. Zookeeper基于Java访问-节点事件监听
  4. Windows Server 2003 群集配置测试
  5. linux系统下RocketMQ的集群搭建
  6. python计算蛋白质的质量
  7. Java多线程(三)——多线程实现同步
  8. python ftp timeout_Python ftp client 处理含有中文的文件名详解
  9. 《PHP基础教程》pdf
  10. 样条曲线(spline)
  11. cadence SPB17.4 - export placement file to openpnp
  12. HTML代码中中逗号和句号怎么写,逗号和句号的用法
  13. vs2017 错误:当前页面的脚本发生错误
  14. springSecurity之http Basic认证
  15. PMP学习考试感悟之——坚持、努力是唯一法宝
  16. 如何用Excel制作工作计划,跟踪任务进度,快来学习吧
  17. shell编程常用命令总结(二)
  18. [UE5 C++] 免费安装JetBrains Mono字体至IDE
  19. 【数据结构与算法】task3 排序二分查找
  20. 一九产业AI速写:工业篇

热门文章

  1. 为何吾博客周排名没有数字显示?
  2. 解决办法:undefined reference to symbol '_ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3
  3. redirect重定向中可以带参数吗_关于Laravel重定向的七种方法详解
  4. Arduino 函数-IO输出输入
  5. C# Excel 删除指定的工作表
  6. c++ 4种新型的类型static_cast、dynamic_cast、reinterpret_cast、const_cast转换运算符
  7. c语言井字棋二维数组,【C语言】简单实现三子棋(井字棋)小游戏
  8. k8s kafka集群 连接不上_k8s利用statefulset部署kafka集群(依赖zookeeper)
  9. 电脑连接路由器后无法上网_路由器如何连接电脑 无线路由器与电脑连接步骤【图文】...
  10. c oracle案例,Oracle 19c CRS重启案例记录