report VI VI EN
Register | Login
  • HOME
  • PROBLEMSET
  • ROADMAP
  • COMPETITION
  • TOPIC
  • RANKING
  • GUIDE
  • MASHUP
  • ABOUT
  • CONTACT
  • Problem
  • Submit
  • Results
Letter frequencies - FlandreOJ: Flandre Online Judge

Letter frequencies

Time limit: 1000 ms
Memory limit: 256 MB
For each letter from $a$ to $z$, count its occurrences in string $S$. ### Input - String $S$ on one line. ### Output - 26 integers, the number of occurrences of $a$ to $z$ respectively. ### Constraints - $1 \le |S| \le 10^5$. ### Example Input: ``` abcda! ``` Output: ``` 2 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ```
String
Length
Word Count
lowercase
Vowel
Digit sum
Strong password
Letter frequencies
Palindrome string
Palindrome substring
Caesar cipher
String occurences
Sum
String normalization
Run-length encoding
Expression
Topic
Basic
Rating 800
Solution (0) Solution