• + 2 comments

    In Haskell reading all contexts is faster than reading line by line for each test case. That was my culprit of timeout.