摘要:
Problem Description There is a string S.S only contain lower case English character.(10≤length(S)≤1,000,000) How many substrings there are that co... 阅读全文
摘要:
C. Foe Pairstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a permutation ... 阅读全文
摘要:
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... 阅读全文
摘要:
题目:http://poj.org/problem?id=1131 题意: 给出一个0-1之间的八进制小数,要求转换成10进制小数。 分析: 因为There is no limit on k,所以要用高精度了。import java.io.*;import java.math.*;... 阅读全文