Public Forums Talk Boxes Private Messages Live Chat
Personal Links
More Community

Usenet Newsgroups : rec.puzzles Hall of Fame


The rec.puzzles Hall of Fame is a compilation of over 500 of the most popular puzzles that have been posted and discussed in the rec.puzzles newsgroup. In most cases a detailed solution has been provided.

Many of these puzzles also appear in Braingle's own collection.

   
rec.puzzles
Newsgroup
FAQ
Hall of Fame
alt.brain.teasers
Newsgroup
FAQ
Categories : analysis : calculate.pi.s

long a=10000,
    b,
    c=2800,
    d,e,
    f[2801],
    g;

main()
   {
    for (;b-c;) f[b++]=a/5;

    for (;
	d=0,g=c*2;
	c-=14, printf("%.4d",e+d/a), e=d%a)
	
    for (b=c;
	 d+=f[b]*a,f[b]=d%--g,d/=g--,--b;
	 d*=b);
   }


Solution

Online Now
7 users and 669 guests

Users In Chat
Aviator
Follow Braingle!
Tap into all 20,000+ of our brain teasers, riddles and puzzles on your iPhone or iPad.

Braingle in the iTunes App Store
Copyright © 1999-2017 | FAQ | Widgets | Links | Green | Subscribe | Contact | Privacy | Conditions | Advertise | Braingle Time: 9:27 am
Sign In Create a free account