• + 0 comments

    Reading the input from STDIN using readline is tricky, since the inputs do not have a \n at the end. Ended up kluging around this, using read(cbuf). Oy, what a pain!