Ad
  • Custom User Avatar

    is this working in Rust?

    on the third test of sumbimiting it has a 36100(190x190) on b, and there is no 190 in a.
    yet it seems to expect that test to be true

    and when trying the aceepted aswers on that test in my machine they fail on that array as well

  • Custom User Avatar

    the problem is the piecemeal allocations, maybe the runtime will make it not terrible,
    but im sure not relying on that for hot code.

    however i agree with how clean it is, i need to reach that level of iterator wizardry.
    and if you could pre allocate the String vec then is not a issue
    but then in this specific case simple concatenation in a big string would end being simpler.