September
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Problem Statement
There are strings consisting of lowercase English letters.
Find how many integers satisfy that the length of is .
Constraints
- Each is a string of length between and , inclusive, consisting of lowercase English letters.
Input
The input is given from Standard Input in the following format:
Output
Print the number of integers such that the length of is .
Sample Input 1
january
february
march
april
may
june
july
august
september
october
november
december
Sample Output 1
1
There is only one integer such that the length of is : . Thus, print 1
.
Sample Input 2
ve
inrtfa
npccxva
djiq
lmbkktngaovl
mlfiv
fmbvcmuxuwggfq
qgmtwxmb
jii
ts
bfxrvs
eqvy
Sample Output 2
2
There are two integers such that the length of is : and . Thus, print 2
.
SDNU_ACM_ICPC_2024_WEEKLY_PRACTICE_1st
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 8
- Start at
- 2024-10-27 18:30
- End at
- 2024-10-27 21:30
- Duration
- 3 hour(s)
- Host
- Partic.
- 39