练68.3 车牌问题
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.
Description
The Beijing Vehicle Management Office issues a license plate for each registered car. The license plate number consists of six characters, such as or . The first character from the left is an uppercase English letter (like , , , etc.), indicating whether the car belongs to the urban area or suburban area of Beijing. The remaining five characters are digits. It is assumed that plates starting with letters , , , , , , , , , represent urban area cars, while plates starting with other letters represent suburban area cars.
Please help the Vehicle Management Office determine how many of the given license plates belong to suburban cars in Beijing.
Input Format
Line 1 contains a positive integer (), indicating the number of license plates.
The next lines each contain a license plate number. It is guaranteed that all given license plates are unique.
Output Format
The number of suburban license plates.
Sample
3
G54672
Q87680
P777712
20251206 B班作业(9 & 10)
- Status
- Done
- Problem
- 7
- Open Since
- 2025-12-7 0:00
- Deadline
- 2025-12-14 23:59
- Extension
- 24 hour(s)