◂ BACK TO COURSE
Word CountPAR 80
easyD ×1.3 VERIFIED SOLVABLE
Count how many words are in the INPUT. A word is a maximal run of non-whitespace characters; words are separated by whitespace (spaces, tabs, or newlines). Output ONLY the count as a bare integer. Example: the quick brown fox jumps over the lazy dog -> 9
PUBLIC EXAMPLES
INthe quick brown fox jumps over the lazy dog
OUT9
INhello
OUT1
~1 strokes / par 80 ⌘↵ submit · openrouter:openai/gpt-oss-20b:free