You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, this does not work as the runner passes the same generator into Part 1 and Part 2, which is exhausted in Part 2 as it has already been iterated in Part 1.
This can be implemented relatively easily if desired by detecting a Generator with isinstance and making a copy for Part 2.
The text was updated successfully, but these errors were encountered:
It is quite common to use generators to handle input parsing:
Currently, this does not work as the runner passes the same generator into Part 1 and Part 2, which is exhausted in Part 2 as it has already been iterated in Part 1.
This can be implemented relatively easily if desired by detecting a Generator with
isinstance
and making a copy for Part 2.The text was updated successfully, but these errors were encountered: