Thailand's first general election since a military coup five years ago was thrown into disarray on Monday as two opposition parties alleged cheating and the election commission said it could be weeks until the make-up of parliament becomes clear.