J. 2014SSOI五年级第四题 字母统计(1.7)

    Type: Default 1000ms 128MiB

2014SSOI五年级第四题 字母统计(1.7)

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.

说明

      某次科研调查,输入一串字符,字符串包含有大写字母、小写字母、数字、其他等各种字符,请你统计出字符串中各大写字母的个数,并按字典顺序输出,如果没有大写字母,则输出“0”。

输入格式

一个字符串(字符串长度不超过 300)。

输出格式

若干行,每行一个大写字母和一个数字,之间用“:”相隔。
YYYYfkksABkjBCY#@$%^&!AFB
A:2
B:3
C:1
F:1
Y:5

来源

字符串

字符串

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
10
Start at
2025-12-25 16:00
End at
2026-1-3 0:00
Duration
200 hour(s)
Host
Partic.
39