摘要: Description In how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles? Here is a sample tiling of a 2x17 rectangle. Input Input is a s... 阅读全文
posted @ 2016-04-05 18:12 HARD_UNDERSTAND 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 题目:http://poj.org/problem?id=1131 题意: 给出一个0-1之间的八进制小数,要求转换成10进制小数。 分析: 因为There is no limit on k,所以要用高精度了。import java.io.*;import java.math.*;... 阅读全文
posted @ 2016-04-05 16:51 HARD_UNDERSTAND 阅读(185) 评论(0) 推荐(0) 编辑