Is an answer like the following considered rude? I already flagged the post as low quality as there is no way that the answer can be fixed. However I feel that even if the CS department has this internal policy, such an answer on SO might be considered threatening as there is an implicit threat in the answer. Personally I feel uncomfortable with any answer that implies that the person asking has to face consequences outside of SO.
Remember, you should always ask the forum help section or email the professor instead of asking on sites like this. Consider this your first and final warning.
For reference this answer is from https://stackoverflow.com/a/46439822/553596