JaberSH1's blog

By JaberSH1, history, 7 months ago, In English

The same solution was submitted in both C++17 (GCC 7-32) & C++20 (GCC 13-64).

AC submission passed with 0 KB on C++17 (GCC 7-32): 257826303

While it resulted in an MLE on C++20 (GCC 13-64): 257826268

The code uses linear memory and it failed on the 8th test which is only of size 10 :/

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it

By JaberSH1, history, 22 months ago, In English

Can anyone provide a code for Eppstein's k shortest paths algorithm?

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it