Create problema_40.cpp
Merge pull request #3 from C0ldF3ar/patch-1

Create problema_40.cpp