ustaritz's blog

By ustaritz, history, 3 years ago, In English

Hi,

I copied/pasted Tourist's solution for Code Jam 2019 Round 1A Pylons and I got the error: "Sample Failed: TLE".
It's a bit annoying that you can't reproduce a valid solution.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By ustaritz, history, 3 years ago, In English

Hello,

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: https://pastebin.com/ut8xd6Ye

Thanks

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it