快速切题 cf118A
这教导人们一定要看题,要看题,元音包含了‘y’,完毕,要看题啊
#include <cstring>
#include <cstdio>
#include <cctype>
using namespace std;
char buff[1001];
int main(){
scanf("%s",buff);
for(int i=0;buff[i];i++){
buff[i]=tolower(buff[i]);
if(buff[i]=='a'||buff[i]=='o'||buff[i]=='i'||buff[i]=='e'||buff[i]=='u'||buff[i]=='y'){continue;}
else {
printf(".%c",buff[i]);
}
} printf("\n");
return 0;
}
快速切题 cf118A的更多相关文章
- 快速切题sgu127. Telephone directory
		127. Telephone directory time limit per test: 0.25 sec. memory limit per test: 4096 KB CIA has decid ... 
- 快速切题sgu126. Boxes
		126. Boxes time limit per test: 0.25 sec. memory limit per test: 4096 KB There are two boxes. There ... 
- 快速切题 sgu123. The sum
		123. The sum time limit per test: 0.25 sec. memory limit per test: 4096 KB The Fibonacci sequence of ... 
- 快速切题 sgu120. Archipelago 计算几何
		120. Archipelago time limit per test: 0.25 sec. memory limit per test: 4096 KB Archipelago Ber-Islan ... 
- 快速切题 sgu119. Magic Pairs
		119. Magic Pairs time limit per test: 0.5 sec. memory limit per test: 4096 KB “Prove that for any in ... 
- 快速切题 sgu118. Digital Root 秦九韶公式
		118. Digital Root time limit per test: 0.25 sec. memory limit per test: 4096 KB Let f(n) be a sum of ... 
- 快速切题 sgu117. Counting 分解质因数
		117. Counting time limit per test: 0.25 sec. memory limit per test: 4096 KB Find amount of numbers f ... 
- 快速切题 sgu116. Index of super-prime bfs+树思想
		116. Index of super-prime time limit per test: 0.25 sec. memory limit per test: 4096 KB Let P1, P2, ... 
- 快速切题 sgu115. Calendar 模拟 难度:0
		115. Calendar time limit per test: 0.25 sec. memory limit per test: 4096 KB First year of new millen ... 
随机推荐
- C++使用Socket 邮箱登录服务器验证
			转载:http://blog.csdn.net/zengraoli/article/details/36866241 转载:http://blog.csdn.net/alger_magic/artic ... 
- 维特比算法Python实现
			前言 维特比算法是隐马尔科夫问题的一个基本问题算法.维特比算法解决的问题是已知观察序列,求最可能的标注序列. 什么是维特比算法? 维特比算法尽管是基于严格的数学模型的算法,但是维特比算法毕竟是算法,因 ... 
- Python3基础 sys.path 查看搜索路径变量
			Python : 3.7.0 OS : Ubuntu 18.04.1 LTS IDE : PyCharm 2018.2.4 Conda ... 
- HDU 1848 Fibonacci again and again(SG函数入门)题解
			思路:SG打表 参考:SG函数和SG定理[详解] 代码: #include<queue> #include<cstring> #include<set> #incl ... 
- centos7下yum升级被PackageKit锁定
			新安装centos7后,第一次升级出现下面的错误: Another app is currently holding the yum lock; waiting for it to exit... 另 ... 
- xshell5  Linux 上传下载文件
			1,先登录身份验证和文件传输ZMODEM 选择自动激活. 2,rpm -qa | grep lrzsz 利用此命令查看是否安装了lrzsz . 如果没有任何反应则是没有安装 若没有安装 yum ins ... 
- UVa 1331 最大面积最小的三角剖分
			https://vjudge.net/problem/UVA-1331 题意:输入一个多边形,找一个最大三角形面积最小的三角剖分,输出最大三角形的面积. 思路: 最优三角剖分. dp[i][j]表示从 ... 
- sopt:一个简单的python最优化库
			引言 最近有些朋友总来问我有关遗传算法的东西,我是在大学搞数学建模的时候接触过一些最优化和进化算法方面的东西,以前也写过几篇博客记录过,比如遗传算法的C语言实现(一):以非线性函数求极值为例和 ... 
- SQLServer 中的SYSPROCESSES表
			性能测试的时候对SQLserver DB中的CPU,io,内存进行监控 可以通过系统进程表查看资源使用情况 注意要有master权限 select top 10 * from SYSPROCESSES ... 
- Oracle数据库常见版本
			Oracle数据库常见版本 在Oracle数据库的发展中,数据库一直处于不断升级状态,有以下几个版本: Oracle 8,Oracle 8i:Oracle 8i表示Oracle正式向Internet上 ... 
