443 - Humble NumbersTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=384A number whose only prime factors are 2,3,5 or 7 is called a humble number.
10375 - Choose and divideTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=115&page=show_problem&problem=1316The binomial coefficient C(m,n) is defined as
10361 - Automatic PoetryTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=96&page=show_problem&problem=1302“Oh God”, Lara Croft exclaims, “it’s one of these
10115 - Automatic EditingTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=96&page=show_problem&problem=1056Text-processing tools like awk and sed allow you to automatically
任意進位下的階乘長度和尾0的數目10061 - How many zero's and how many digits ?Time limit: 20.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=100&page=show_problem&problem=1002Given a decimal integer number you
10300 - Ecological PremiumTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=94&page=show_problem&problem=1241German farmers are given a premium depending on the conditions at their
10465 - Homer SimpsonTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=114&page=show_problem&problem=1406這資料量。。枚舉絕對是最快的方式了。完整代碼:/*0.025s*/ #include<bits/stdc++.h> using
10285 - Longest Run on a SnowboardTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=114&page=show_problem&problem=1226遞迴寫就行。完整代碼:/*0.025s*/ #include<bits/stdc++.h>using
10656 - Maximum Sum (II)Time limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1597In a given a sequence of non-negative integers you will have to find such
10107 - What is the Median?Time limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1048The ProblemMedian plays an important role in the world of statistics.
11727 - Cost CuttingTime limit: 1.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2827Company XYZ have been badly hit by recession and is taking a lot of cost
11172 - Relational OperatorTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2113Some operators checks about the relationship between two values and
374 - Big ModTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=310Calculatefor large values of B, P, and M using an efficient algorithm. (That's right,