Read from standard input, print the answer, get judged instantly against sample and hidden tests — the same shape as a real interview question.
Showing 30 of 30 problems