Welcome!

×

...or use your e-mail

Go back to Challenges list

Challenge

Text Analytics

In this challenge you will have to analyze a string of text and gather some analytics about the text. The analytics are:
- Number of words
- Number of letters
- Number of symbols (any non-letter and non-digit character, excluding white spaces)
- Number of words used two or more times
- Number of letters used three or more times
- Number of words only used once

Input Format
Each test case contains a string of text.

Output Format
For each test case output the analytics separated by commas: "5, 25, 2, 1, 7, 5"

Sample Inputs
Some small sample text!
Skilleo is cool


Sample Outputs
4, 19, 1, 0, 4, 4
3, 13, 0, 0, 2, 3

Memory Limit
512M


Sign Up or Login to solve this Code Challenge