Problem
Input format
The program reads from standard input multiple lines of text. Each line has at most `4000` characters. - the number of lines is between `1` and `100` - each line has at most `4000` characters - whitespace (space, tab) and punctuation separate words
Output format
The program prints to standard output three non-negative integers separated by spaces: the number of lines, the number of words, and the total number of letters.
Example
Salut lume Acesta este un test
2 6 25
Stuck?
Use the Get Hint button in the action bar to reveal a guided hint.
💬 Discussion
Loading...No comments yet. Be the first to start the discussion!
Sample cases (from the problem)
Sample Case 1
Salut lume Acesta este un test
2 6 25
Solve it your way first
Community solutions unlock after you submit a passing solution. Don't peek.
Ready to solve this challenge?
Create a free account to write code, submit solutions, and track your progress.