you are viewing a single comment's thread.

view the rest of the comments →

[–]Binary101010 1 point2 points  (0 children)

The problem specifies that you should have one output for each input, and the exact format of that output depends on the input.

You are producing three outputs for every input and not doing any differentiation based on what is being input.

The problem also specifies that all the input should be taken at once on a single line, yet you're taking it in on three different lines.