42 人解决,86 人已尝试。
47 份提交通过,共有 156 份提交。
5.3 EMB 奖励。
单点时限: 3.0 sec
内存限制: 256 MB
Your task is to write a program to count “1” and “one”. The “one” is not case sensitive.
Input consists from N(0<N<100) test cases. Each test case consists from a single line containing at most 1024 characters. You have to count how many ONEs in the line.
You can assume that each line consists from alpha-numeric characters.
For each test case, you should output a number of ONE.
3 1112345 1Oneone WanWAN
3 3 0
42 人解决,86 人已尝试。
47 份提交通过,共有 156 份提交。
5.3 EMB 奖励。