Skip to content

sorokivski/task_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

task_cpp

Please submit the complete C++ source code for a program that counts the number of distinct unique words read from the standard input. For example, given the input "a horse and a dog" the program must output "4" (the word 'a' appears twice but only accounts for one distinct unique occurrence). The input text is guaranteed to contain only 'a'..'z' and space characters in ASCII encoding. The program should be able to handle large inputs (e.g. 32 GiB) You can assume that all unique words fit into memory when using the data structure of your choice.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages