Please subscribe to the official Codeforces channel in Telegram via the link ×

Kick Start 2021 H — Silly Substitutions — RE with std::list

Revision en1, by ustaritz, 2021-11-14 17:29:55


I implemented the solution for the problem Silly Substitutions with std::list following Google's analysis and also with a lot of inspiration from tmwilliamlin168's solution.

It gives RE on Test Set 1 with Kick Start but works fine on windows.

Does anyone know where the problem comes from ?

The code is:



  Rev. Lang. By When Δ Comment
en1 English ustaritz 2021-11-14 17:29:55 439 Initial revision (published)