N. Đếm số lần xuất hiện của kí tự


Submit solution

Points: 50
Time limit: 1.0s
Memory limit: 256M

Problem type

Cho một chuỗi \(s\), đếm số lượng xuất hiện của từng kí tự trong chuỗi \(s\) và in ra màn hình

input

tsmart

output

a 1
m 1
r 1
s 1
t 2

Comments

There are no comments at the moment.