hdoj2017
来源:互联网 发布:mac自动关机 编辑:程序博客网 时间:2024/06/06 00:55
#include<stdio.h>int main(){int n;char ch;while(scanf("%d",&n)!=EOF&&n!=0){getchar();//吞掉空格int count=0;while(n--){while((ch=getchar())!='\n'){if(ch>='0'&&ch<='9')count++;}printf("%d\n",count);count=0;}}return 0;}
0 0
- hdoj2017
- hdoj2017
- HDOJ2017
- HDOJ2017字符串统计
- hdoj2017 字符串统计
- hdoj2015/hdoj2016/hdoj2017
- hdoj2017字符串统计(字符串转换字符串数组)常看
- Sql Server 2008 关于登录时远程连接报错原因总结
- SSH整合中:Unable to load bean 解决方法
- Hadoop集群(第10期副刊)_常用MySQL数据库命令
- sql update 无法更新 null?
- http://dongxi.douban.com/article/1113972/
- hdoj2017
- jsonp
- Sometimes you will never know the true value of a moment until it becomes a memory
- c++ 经典习题源码
- 《FPGA零基础入门到精通视频教程》-第002计数器(Modelsim前仿真)
- java正则表达式最好的教程
- 又一整容失败案例
- oh-my-zsh powerline
- Hadoop集群(第10期)_MySQL关系数据库