HDOJ-2027
来源:互联网 发布:关于python爬虫的书籍 编辑:程序博客网 时间:2024/05/16 15:18
#include<iostream>#include<cstring>using namespace std;int main(){int n=0;char str[101];cin>>n; cin.get();while(n--){ cin.getline(str,100);int length=strlen(str);int a_=0,e_=0,i_=0,o_=0,u_=0;for(int i=0;i<length;i++){switch(str[i]){case 'a':a_++;break;case 'e':e_++;break;case 'i':i_++;break;case 'o':o_++;break;case 'u':u_++;break;default: break;}}cout<<"a:"<<a_<<endl<<"e:"<<e_<<endl<<"i:"<<i_<<endl<<"o:"<<o_<<endl<<"u:"<<u_<<endl;if(n) cout<<endl;}return 0;}
0 0
- HDOJ-2027
- HDOJ 2027
- HDOJ--2027
- hdoj 2027
- hdoj 2027 统计元音
- hdoj 2027 统计元音
- HDOJ 2027 单词数
- HDOJ 2027 统计元音
- HDOJ 2027 统计元音
- HDOJ 2027 统计元音
- HDOJ 2027 统计元音
- HDOJ 2027 统计元音
- HDOJ
- hdoj
- hdoj
- HDOJ
- hdoj.2027 统计元音 20140726
- hdoj 2027 统计元音 C++
- AUD$ 引起的SYSTEM表空间过大
- 导致电脑网速变慢的几个方面
- 如何打开有道词典的划词,取词
- python 中的 数组 矩阵 列表
- 同步方法与同步块synchronized(this)详解
- HDOJ-2027
- java:equals 和 ==的区别
- windows远程连接linux的软件:PuTTY
- jQuery万能浮动框插件测试
- CSS outline:none
- BufferedReader 源码分析
- 一些相似词的区别
- 解决ssh的"Write failed: Broken pipe"问题
- glibc 内存重复释放检测失效