摘要:
题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2671 题目: Joe works in a maze. Unfortunately, port 阅读全文
摘要:
题目链接:http://poj.org/problem?id=2251 题目: Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2842 题目: Problem Description Dumbear likes to play the Chinese Rings (Baguenaudier). It’s a game played 阅读全文
摘要:
题目链接:http://codeforces.com/problemset/problem/185/A 题目: Dwarfs have planted a very interesting plant, which is a triangle directed "upwards". This pla 阅读全文
摘要:
这个的意思是将a翻转过来与a相减的绝对值 1 int t; 2 string a, b; 3 int m[maxn; 4 5 void BigInteger_subtract(string a, string b) { 6 memset(m, 0, sizeof(m)); 7 int len = a.size(); 8 for(int i = len - ... 阅读全文
摘要:
题目链接:http://acm.csu.edu.cn/csuoj/problemset/problem?pid=2021 Description Everybody loves big numbers (if you do not, you might want to stop reading at 阅读全文
摘要:
题目链接:http://poj.org/problem?id=2478 Description The Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/b wit 阅读全文
摘要:
题目链接:http://acm.csu.edu.cn/csuoj/problemset/problem?pid=2021 Description Everybody loves big numbers (if you do not, you might want to stop reading at 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1114 题面: Problem Description Before ACM can do anything, a budget must be prepared and the necessary fi 阅读全文
摘要:
题目链接:http://poj.org/problem?id=1269 题面: Description We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a 阅读全文
摘要:
题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2119 题面:Morleys theorem states that that the line 阅读全文
摘要:
题目链接:http://codeforces.com/problemset/problem/567/B 题目描述: Berland National Library has recently been built in the capital of Berland. In addition, in 阅读全文