In an advanced university course on computer science and problem solving, one of my fellow student asked for a solution to a home exam on one of the Stack Exchange sites. The question he asked is taken directly from the exam without modification also stating that this is practice question for upcoming exam. He got the solution. There was more than one question.
Now for the moral dilemma. I feel very uneasy about reporting although knowing that it will hurt future students and in the long term the status of the school. Will it affect me? Most likely not.
I would like input on how others would reason about this.