Would some Java help you guys that want to add for Karma? This is getting to be exhausting for both of us.
Edit:
import java.math.BigInteger;
public class Main {
public static void main(String[] args) {
String s1 = "[INSERT NUMBER 1 HERE]";
String s2 = "[INSERT NUMBER 2 HERE]";
System.out.println(addBig(s1, s2)); //Copy this
}
public static BigInteger addBig(String number1, String number2){
BigInteger num1 = new BigInteger(number1), num2 = new BigInteger(number2);
return num1.add(num2);
}
public static BigInteger skipStep(String number1, String number2){
BigInteger num1 = new BigInteger(number1), num2 = new BigInteger(number2);
BigInteger firstStep = num1.add(num2);
return firstStep.add(num1.max(num2)); //This skips a step in the Fibonacci sequence, by adding the bigger number twice.
}
}
I wouldn't consider ASF mainstream, it's a nice change of pace though :) I could share some Three Days Grace and Breaking Benjamin if that would interest you guys
View all comments
Show parent comment
19
u/Bloodshot025 Jun 10 '12
25622432594957533833097975455094690393428421270615039971229661946651266823712333947391651113730247552907379413000726032877160390712762837381263263708546139126504936400032280385858697189430052967196516927169940081458403321149598415358336863680847653160022244196328695273