• + 1 comment

    what's the fastest of way of reading input using scala ? i've tried couple of options using readLine, Source.stdin.getLines but all of them ended with timeouts for 4 of the tests (16,17,18,19 to be specific)..