Search found 1 match

by DEADD00D
Sat Sep 20, 2014 4:12 pm
Forum: Challenges
Topic: Big Fib
Replies: 36
Views: 50066

// F_1=1, F_2=1, F_n=F_{n-1}+F_{N-2}; // I tend to use Java.math.BigInteger when cope with big numbers, and it's handy. import java.math.BigInteger; public class Hacker144 { private static final int INDEX = 1500000; private static final int STEP = 20000; public static void main(String args[]) { BigI...