Cheating policy

I know you can’t hardcode answers, but in http://www.usaco.org/index.php?page=viewproblem2&cpid=941, the answer can be either yes or no… so is are you were taking the real contest, would the code cout << "yes" << endl be considered cheating?

I assume that’s what everyone on the promotion list with 863 / 882 did. :slight_smile:

nice nice nice :smiley:

This isn’t cheating; the problem wasn’t very well-made (usually there will be multiple queries to answer with a bit string for these types of problems). See my response to a related thread below:

Also, why would it be cheating. It doesn’t say in the contest rules that you can’t print an O(1) solution…

Programs that consist of essentially nothing more than print statements may be disqualified.

That was probably the source of confusion.