Town Mission 1: Soleanna's Apple Festival

Soleanna's Apple Festival is 1st Town Mission in Sonic 06. The objective of this mission is to gather 50 or more Apples in soem barrels.

Glitch
There is a glitch in this mission that can easily give the player the S-Rank. All the player has to do is gather 50 apples and kill themself by jumping over a nearby bridge. The player still completed the objective and thus although they lose the apple points, the game recognizes that the player completed the mission under a second, giving the player an extremely high time bonus.

Source
http://www.gamefaqs.com/ps3/929718-sonic-the-hedgehog/faqs/46072