2012年11月2日

hdu 1316 How Many Fibs?

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1316How Many Fibs?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2354Accepted Submission(s): 955Problem DescriptionRecall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n >= 阅读全文

posted @ 2012-11-02 20:30 仁者无敌8勇者无惧 阅读(248) 评论(0) 推荐(0) 编辑

hdu 1715 大菲波数

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1715View Code 1 import java.math.BigInteger; 2 import java.util.Scanner; 3 4 5 public class Main { 6 public static void main(String[] args) { 7 BigInteger f[]=new BigInteger[1010]; 8 int a[]=new int[1010]; 9 Scanner cinScanner=... 阅读全文

posted @ 2012-11-02 19:20 仁者无敌8勇者无惧 阅读(109) 评论(0) 推荐(0) 编辑

hdu 1789 Doing Homework again

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1789Doing Homework againTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3168Accepted Submission(s): 1836Problem DescriptionIgnatius has just come back school from the 30th ACM/ICPC. Now he has a lot of home 阅读全文

posted @ 2012-11-02 14:02 仁者无敌8勇者无惧 阅读(337) 评论(0) 推荐(0) 编辑

Bayan 2012-2013 Elimination Round (ACM ICPC Rules, English statements) A. Old Peykan

摘要: A. Old Peykantime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n cities in the country where the Old Peykan lives. These cities are located on a straight line, we'll denote them from left to right as c1, c2, ..., cn. The Old Peykan wa 阅读全文

posted @ 2012-11-02 08:47 仁者无敌8勇者无惧 阅读(295) 评论(0) 推荐(0) 编辑

导航