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.
I am having a rather bizarre issue. On my computer, when I run on testcase #4 it runs quickly when compiled with no optimizations or even interpreted. However when I compile with -O2 it slows to a crawl. Any ideas? I am using ghc 7.10.2 and my most recent submission is at https://www.hackerrank.com/challenges/range-minimum-query/submissions/code/14985614
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Range Minimum Query
You are viewing a single comment's thread. Return to all comments →
I am having a rather bizarre issue. On my computer, when I run on testcase #4 it runs quickly when compiled with no optimizations or even interpreted. However when I compile with -O2 it slows to a crawl. Any ideas? I am using ghc 7.10.2 and my most recent submission is at https://www.hackerrank.com/challenges/range-minimum-query/submissions/code/14985614