[Login|Register]
Problems

Status

Rank

Problem 1065
Ha
Time Limit: 1000ms
Memory Limit: 65536kb
Description
在一串由"he"和"ha“组成的字符串中,统计“ha”出现了多少次。
Input
输入为一行,不超过 1000 个字符。
Output
输出计数结果。
Sample Input
hehehaha
Sample Output
2
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 1.6ms with 1 query(s).