same like first post, but maybe link changed.
http://www.angio.net/pi/bigpi.cgi
Search found 4 matches
- Tue Jul 26, 2011 11:46 am
- Forum: Challenges Solved
- Topic: A Piece of Pi
- Replies: 7
- Views: 829
- Tue Jul 26, 2011 10:42 am
- Forum: Challenges Solved
- Topic: Pi Hates Nines
- Replies: 26
- Views: 3330
Code: Select all
#perl
open (HD, "<pi1000000.txt") || die "file not found";
$pi = <HD>;
close (HD);
@bla = split (/9/, $pi);
@foo = reverse sort {length $a <=> length $b} @bla;
print @foo[0];
- Fri Jul 22, 2011 3:08 pm
- Forum: Challenges Solved
- Topic: RedEye
- Replies: 12
- Views: 1144
- Fri Jul 22, 2011 10:35 am
- Forum: Challenges Solved
- Topic: Random Problem
- Replies: 11
- Views: 951
i did it with this little code sniped. there some smaller / better way to do? im not some java pro. [code] class Box { int zahl; Box(int randomNumber) { zahl = randomNumber; } int value() { int a[] = new int[10]; for (int i = 0; i < a.length; i++) a[i] = i * zahl; int index = Math.abs(zahl) % a.leng...