Picture this program
Picture this program
I wonder how people who have not seen the obfuscated C contest entry »Pi« (http://www.cise.ufl.edu/~manuel/obfuscate/pi.c) solve this. Googling? Guessing? Actually trying to make sense of the code?
-
the hellridden Baron
- Posts: 1
- Joined: Tue Oct 26, 2010 11:19 pm
-
AMindForeverVoyaging
- Forum Admin
- Posts: 497
- Joined: Sat May 28, 2011 9:14 am
- Location: Germany
-
DaymItzJack
- Posts: 106
- Joined: Thu Oct 29, 2009 9:21 pm
-
haellowyyn
- Posts: 6
- Joined: Thu Jan 03, 2013 12:13 am
Yes, I have decided to run it on online c interpretter and 3.156 was not accepted so I read the challenge forum and answered pi. I have not looked at expanded code till now ... OK each "disk pixel" decrements F, but OO is decremented only on the line start otherwise -F>0 is evaluated to true so OO is not decremented. Therefore F/OO/OO is disk to square ratio ...