HDU 2030 - 汉字统计
2013-11-29 00:07
295 查看
题目链接:
http://acm.hdu.edu.cn/showproblem.php?pid=2030
http://acm.hdu.edu.cn/showproblem.php?pid=2030
#include <stdio.h> #include <string.h> int main(void) { int n; int count; char c; scanf("%d%*c", &n); while (n--) { count = 0; while ((c = getchar()) != '\n') { if (c < 0) count++; } printf("%d\n", count / 2); } return 0; }
相关文章推荐
- HDU2030 汉字统计
- HDU 2030 汉字统计
- hdu 2030 汉字统计 (水)
- hdu2030(汉字统计)java水过
- hdu 2030 汉字统计
- hdu_2030_汉字统计_解题报告
- hdu_2030_汉字统计_解题报告
- HDU 2030 汉字统计
- HDU:2030 汉字统计
- hdu2030-汉字统计java
- HDU-2030汉字统计
- hdu-2030-汉字统计
- hdu 2030 汉字统计 (水)
- hdu 2030 汉字统计
- hdu2030 汉字统计
- HDU 2030汉字统计
- hdu 2030 汉字统计
- HDU 2030 汉字统计
- HDU 2030 汉字统计
- HDU-2030 汉字统计