uva
defense881
Noting is impossiable!Believe in yourself!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
uva 246 5185 10-20-30
10-20-30 A simple solitaire card game called 10-20-30 uses a standard deck of 52playing cards in which suit is irrelevant. The value of a face card (king,queen, jack) is 10. The value of a原创 2014-07-22 14:56:32 · 1034 阅读 · 0 评论 -
uva 11889 Benefit(简单数学)
BenefitRecently Yaghoub is playing a new trick to sell some more. When somebody gives him A Tomans, he who never has appropriate changes, asks for B Tomans such that lowest common multiple of原创 2015-01-27 09:09:40 · 961 阅读 · 2 评论 -
uva 11388 GCD LCM(简单数学)
Problem D: GCD LCMInput: standard inputOutput: standard output The GCD of two positive integers is the largest integer that divides both the integers without any re原创 2015-01-27 08:59:37 · 1180 阅读 · 2 评论 -
uva 10943How do you add?(简单组合)
Problem A: How do you add?Larry is very bad at math - he usually uses a calculator, which worked well throughout college. Unforunately, he is now struck in a deserted island with his good buddy Ry原创 2015-01-27 09:20:13 · 1294 阅读 · 2 评论 -
uva 10673Play with Floor and Ceil(扩展欧几里得算法)
Play with Floor and CeilInput: standard inputOutput: standard outputTime Limit: 1 second TheoremFor any two integers x and k there exists two more integers p and q such that:It’s a f原创 2014-11-18 23:31:01 · 1107 阅读 · 0 评论 -
poj 2942&&uva 3523 Knights of the Round Table(图的连通性)
Knights of the Round TableTime Limit: 7000MS Memory Limit: 65536KTotal Submissions: 9663 Accepted: 3129DescriptionBeing a knight is a very attractive career: search原创 2014-08-10 18:42:47 · 938 阅读 · 0 评论 -
poj 1270&& uva 124 Following Orders(拓扑排序、DFS)
Following Orders点击打开题目链接Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3756 Accepted: 1483DescriptionOrder is an important concept in mathematics and原创 2014-08-06 20:01:39 · 1193 阅读 · 0 评论 -
uva 10158 War(并查集的简单应用)
Problem B: War点击打开题目链接 A war is beinglead between two countries, A and B. As a loyal citizen of C, you decide tohelp your country’s espionage by attending the peace-talks taking place t原创 2014-07-28 09:49:33 · 928 阅读 · 0 评论 -
uva 10608 Friends(求并查集集合中元素个数)
Friends There is a town with N citizens. It is known that some pairsof people are friends. According to the famous saying that “The friends of myfriends are my friends, too” it follows that if A a原创 2014-07-27 10:53:15 · 1606 阅读 · 0 评论 -
poj 1363 Rails(栈)
RailsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 24568 Accepted: 9628DescriptionThere is a famous railway station in PopPush City. Country there is in原创 2014-07-24 19:03:28 · 680 阅读 · 0 评论 -
uva 133 The Dole Queue(约瑟夫变形)
The Dole Queue In a serious attempt to downsize (reduce) the dole queue, The NewNational Green Labour Rhinoceros Party has decided on the followingstrategy. Every day all dole applicants w原创 2014-07-24 09:09:31 · 777 阅读 · 0 评论 -
uva 10780Again Prime? No Time.(简单数论)
Again Prime? No time.Input: standard inputOutput: standard outputTime Limit: 1 secondThe problem statement is very easy. Given a number n you have to determine the largest power of m, not ne原创 2015-01-27 09:36:51 · 1662 阅读 · 2 评论
分享