The professor should be held responsible for letting the cheaters get away with it. Not that hard to find cheaters in a programming class if he/she cared.
The university administrators tell the faculty that cheating is a really big deal, that they take very seriously. They will not tolerate it, and will severely punish any student they catch cheating.
Of course, it is essential that the university treats students fairly when they are under such terrible suspicion. Therefore, any complaint of cheating should be made on the approved 15 page form, handwritten in quadruplicate, and submitted for the Vice-Chancellor to consider in her copious free time.
It's extremely unfair to characterize them as "dumb". They have the same credentials as the tenured faculty did when they start, but they don't have tenure.