Problem 722 · Medium

Remove Comments

Scan the source as a small state machine: line comments end a line, block comments may span lines.

Open the interactive visualisation