Just out of interest I tried to solve a problem from "Recent" category of Project Euler ( Digit Sum sequence ). But I am unable to think of a way to solve the problem efficiently. The problem is as follows ( in the original question sequence has two ones in beginning , but it does not change the...
@Raphael there are the questions like this - this one is hot lately. So once I thought about writing a reference-like answer to this machine, and $a^2nb^n$ and ... pick any. A collection of machines with descriptions.
The downside is that people will not search ,so it doesn't prevent from the homework flow. They will not read the description, just copy and handle to the teacher... Rather bad idea.
@Evil Also, it wouldn't be a q&a but a list of machines. Better write it up in ebook form -- "exercise languages and their grammar, automata and machines", the bane of all lazy profs. X-D
@Raphael On a quick reading, it appeared that at least some of the codechef questions come with monetary rewards. I'm unwilling to answer such questions unless I get a cut of the reward.