POJ难得一见的中文题、、、、
http://poj.org/problem?id=3982
JAVA继续水、
import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);
BigInteger[] num = new BigInteger[100];
while(cin.hasNext()) {
num[0] = cin.nextBigInteger();
num[1] = cin.nextBigInteger();
num[2] = cin.nextBigInteger();
for(int i=3; i<=99; i++) {
num[i]=num[i-1].add(num[i-2].add(num[i-3]));
}
System.out.println(num[99]);
}
}
}