The Last Leaf

View as PDF

Submit solution

Points: 100
Time limit: 2.0s
PyPy 3 10.0s
Python 3 10.0s
Memory limit: 256M
PyPy 3 1G
Python 3 1G

Author:
Problem type

Div A Problemset Div B Problemset

Note: If submitting Python code, please submit using the "Python 3" Language rather than "PyPy 3", for this problem only. This is because PyPy 3 can often take more memory than is needed, and you are likely to recieve an MLE verdict.


Comments

There are no comments at the moment.