Submit solution
Points:
100
Time limit:
5.0s
PyPy 3
12.0s
Memory limit:
896M
PyPy 3
1G
Author:
Problem type
Div A Problemset Div B Problemset
Note: Python solutions are likely to receive an MLE verdict on the judge, due to some memory limitations. These submissions will be manually reviewed and executed by the judging team, although the manual verdict will be slow to arrive - please consider implementing this problem in C++ if your team has the ability to.
Comments