Find a directory with the max number of files

Report a typo

Download and unpack the following archive: basedir.zip.

If you unpack and open it, you will see a lot of directories containing files.

You must write a program that finds a directory with the maximum number of files. Do not count the directories in the basedir.

Enter the name of the directory and the number of files in it separated by one space.

The required format example:

dir0 0
Enter a short text
___

Create a free account to access the full topic