【入门】统计字符的个数
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
从键盘中任意输入一串字符,直至输入"#"字符代表结束.请编程统计输入的字符中的大写字母,小写字母和数字字符的个数分别是多少?
Input Format
输入只有一行,包括一串字符.(长度小于20)
Output Format
输出只有一行(这意味着末尾有一个回车符号),包括3个整数。分别代表大写字符,小写字符和数字字符的个数。
daDSALDdcada3240#
5 7 4
Source
字符串
数组及应用4(字符数组和字符串)
- Status
- Done
- Problem
- 8
- Open Since
- 2025-12-12 0:00
- Deadline
- 2025-12-19 23:59
- Extension
- 24 hour(s)