poj
Yoweiwei
半杯水
展开
-
poj 1000 A+B Problem
Description Calculate a+b Input Two integer a,b (0<=a,b<=10) Output Output a+b Sample Input 1 2 Sample Output 3 Source: #include <iostream> using namespace std; int main() { int a,b;...原创 2019-07-29 16:08:38 · 126 阅读 · 0 评论 -
POJ 1012 Joseph
Description The Joseph’s problem is notoriously known. For those who are not familiar with the original problem: from among n people, numbered 1, 2, . . ., n, standing in circle every mth is going to ...转载 2019-09-02 17:17:28 · 86 阅读 · 0 评论 -
poj 1011 Sticks
Description George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the original state, but he forgot how many sticks...转载 2019-09-01 20:24:03 · 55 阅读 · 0 评论 -
poj 1009
题目都看不懂,以后再回来。原创 2019-08-15 17:09:57 · 84 阅读 · 0 评论 -
poj 1008 Maya Calendar
Description During his last sabbatical, professor M. A. Ya made a surprising discovery about the old Maya calendar. From an old knotted message, professor discovered that the Maya civilization used a ...转载 2019-08-15 11:40:26 · 82 阅读 · 0 评论 -
poj 1007 DNA Sorting
Description One measure of unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each other. For instance, in the letter sequenceDAABEC’’, this measure i...转载 2019-08-15 10:10:09 · 85 阅读 · 0 评论 -
poj 1006 Biorhythms
Description Some people believe that there are three cycles in a person’s life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual cycles, and they h...转载 2019-08-06 18:22:00 · 137 阅读 · 0 评论 -
poj 1005 I Think I Need a Houseboat
Description Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state of Louisiana is actually shrinking b...转载 2019-08-06 17:45:33 · 100 阅读 · 0 评论 -
poj 1004 Financial Management
Description Larry graduated this year and finally has a job. He’s making a lot of money, but somehow never seems to have enough. Larry has decided that he needs to grab hold of his financial portfolio...转载 2019-08-02 14:36:06 · 110 阅读 · 0 评论 -
poj 1003 Hangover
Description How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We’re assuming that the cards must be perpendicular ...转载 2019-08-01 16:44:34 · 84 阅读 · 0 评论 -
poj 1002 487-3279
Description Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the University o...转载 2019-07-31 16:44:02 · 123 阅读 · 0 评论 -
poj 1001 Exponentiation 更新
Source: package poj; import java.math.BigDecimal; import java.util.*; public class test1{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()) { ...转载 2019-07-30 11:20:22 · 81 阅读 · 0 评论 -
poj 1001 Exponentiation
Description Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many compu...转载 2019-07-30 10:36:48 · 128 阅读 · 1 评论 -
poj 1013 Counterfeit Dollar
Description Sally Jones has a dozen Voyageur silver dollars. However, only eleven of the coins are true silver dollars; one coin is counterfeit even though its color and size make it indistinguishable...转载 2019-09-04 11:03:44 · 66 阅读 · 0 评论