Why competitive programer write bad code , good code need more time ?
Its not the fault of the competitive programmers that they end up writing bad code. Its the demand of this sport and they are forced to do so. For example, its a good practise to divide the code into various functions/methods for clarity but if you try to do that in competitive programming, due to higher number of function calls, time limt will exceed and your code won't be accepted. Though its my opinion, but at the same time I don't seem to like competitive programming myself.