摘要: import java.io.BufferedInputStream;import java.math.BigInteger;import java.util.Scanner;public class Main { public static BigInteger p, q; public static void solve(int n) { BigInteger N, p1, p2, q1, q2, a0, a1, a2, g1, g2, h1, h2; p1 = BigInteger.ZERO; p2 = BigInteger.ONE; q1 = p2; q2 = p1; a0... 阅读全文
posted @ 2011-10-15 22:33 qingyezhu 阅读(311) 评论(1) 推荐(1)