coder_penguin's submission of Total Components | CodeChef