ah. Yes I was assuming the city app wouldn't be directing citizens to walk to the North Pole and beyond.
I see there is such an infinite walk in the test suite.
doesn't time out on a correct solution. I think always returning True may cause tests to attempt to show an infinite list which is why that times out. If you always return False it does not do this.
Solutions are timing out in Haskell, even if I trivially insert 'True' as the function output. This is a bit upsetting as I have a good solution which works on my local machine but I cannot run it on the server.
I was trying this in Haskell, my function doesn't pass the Haskell test suite but the python version works. I think something is up with the Haskell test suite.
I changed the show instance, so it should no longer time out in the test code (but it will of course time out if the solution code doesn't complete)
ah. Yes I was assuming the city app wouldn't be directing citizens to walk to the North Pole and beyond.
I see there is such an infinite walk in the test suite.
thanks!
doesn't time out on a correct solution. I think always returning
True
may cause tests to attempt toshow
an infinite list which is why that times out. If you always returnFalse
it does not do this.Solutions are timing out in Haskell, even if I trivially insert 'True' as the function output. This is a bit upsetting as I have a good solution which works on my local machine but I cannot run it on the server.
Approve!!
I was trying this in Haskell, my function doesn't pass the Haskell test suite but the python version works. I think something is up with the Haskell test suite.
approve!