We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Sherlock and Moving Tiles
Sherlock and Moving Tiles
Sort by
recency
|
297 Discussions
|
Please Login in order to post a comment
def movingTiles(l, s1, s2, queries):
Haha C# has a similar issue. The areas may be up to length^2, but that means they need to be
long
. So, you'll need to modify the supplied ingestion code.Fix your dogshit scala example by changing the queries input into a Double
Note for people trying in C: the parse_int function overflows for some test cases. Change the function to return a long, and change the queries array to accept longs.