I got docked 50% on one of my C++ labs because someone had the nerve to turn the same exact code in with their name on it. I hope they got hit harder, since the instructor liked the idea of me offering my code. He did suggest that I wait until the last due-date for the labs to post it though.