5000 times 300_000 numbers to test = 1.5 billions of operations
Obviously, all 300k numbers are not tested 5k times each.
Although, for some reason the reference solution "became slower" at some point. I made a quick fix to bring it back to ~4.9 sec, so at least your solution must not be faster to pass anymore.
well, I only realized after doing this one.
He has whitespace in between the quotation marks. I don't know if he added it later or not
This comment is hidden because it contains spoiler information about the solution
01/2018. Might be just that.
This comment is hidden because it contains spoiler information about the solution
yeah, I'll never gonna sh... :p
I can't help to feel there is a hidden message in your solution, but I can't put my finger on it.
yeah, I was in a pretty good mood at that time... x/
...what?
Resolving here, same issue above. I'll take a look in a minute
Thanks, I simplified it a bit
Obviously, all 300k numbers are not tested 5k times each.
Although, for some reason the reference solution "became slower" at some point. I made a quick fix to bring it back to ~4.9 sec, so at least your solution must not be faster to pass anymore.