There are code solutions for every problem, whether in lecture or test. After checking/watching the solution, further submissions to that question will not fetch you any marks. However score achieved before watching solution will not be affected.