排序:
默认
按更新时间
按访问量

hdu 1104 Remainder

Problem Description Coco is a clever boy, who is good at mathematics. However, he is puzzled by a difficult mathematics problem. The problem is: Giv...

2018-07-30 11:24:33

阅读数:29

评论数:0

Exponentiation hdu 1063

Problem DescriptionProblems involving the computation of exact values of very large magnitude and precision are common. For example, the computation ...

2018-07-16 09:36:40

阅读数:33

评论数:0

hdu 1753 大明A+B

Problem Description话说,经过了漫长的一个多月,小明已经成长了许多,所以他改了一个名字叫“大明”。这时他已经不是那个只会做100以内加法的那个“小明”了,现在他甚至会任意长度的正小数的加法。现在,给你两个正的小数A和B,你的任务是代表大明计算出A+B的值。 Input本题目包含多...

2018-05-31 21:52:33

阅读数:24

评论数:0

hdu 1715 大菲波数

Problem DescriptionFibonacci数列,定义如下:f(1)=f(2)=1f(n)=f(n-1)+f(n-2) n>=3。计算第n项Fibonacci数值。 Input输入第一行为一个整数N,接下来N行为整数Pi(1<=Pi&...

2018-05-31 20:24:26

阅读数:20

评论数:0

hdu 1042 N!(万进制)

Problem DescriptionGiven an integer N(0 ≤ N ≤ 10000), your task is to calculate N! InputOne N in one line, process to the end of file. OutputFor each...

2018-05-30 21:15:56

阅读数:25

评论数:0

hdu 1082 Matrix Chain Multiplication

Problem DescriptionMatrix multiplication problem is a typical example of dynamical programming. Suppose you have to evaluate an expression like A*B*C...

2018-05-24 20:36:25

阅读数:26

评论数:0

hdu 1237 简单计算机 (队列)

Problem Description读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要输出。 Ou...

2018-05-23 16:13:57

阅读数:22

评论数:0

hdu 1018 Big Number

Problem DescriptionIn many applications very large integers numbers are required. Some of these applications are using keys for secure transmission o...

2018-05-18 09:02:25

阅读数:17

评论数:0

hdu 1443 Joseph (约瑟夫环问题)

Problem DescriptionThe Joseph's problem is notoriously known. For those who are not familiar with the original problem: from among n people, numbered...

2018-05-17 16:44:22

阅读数:23

评论数:0

HDU 1072 Nightmare (bfs dfs)

Problem DescriptionIgnatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth has an exit, Ignatius ...

2018-05-15 21:23:19

阅读数:30

评论数:0

hdu 1728 逃离迷宫

Problem Description  给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些地方是障碍,她必须绕行,从迷宫的一个位置,只能走到与它相邻的4个位置中,当然在行走过程中,gl...

2018-05-14 17:01:42

阅读数:15

评论数:0

hdu 1087 Super Jumping! Jumping! Jumping!

Problem DescriptionNowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and kno...

2018-05-12 10:01:14

阅读数:41

评论数:0

HDU 1754 I Hate It

Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input本题目包含多组测试,请处...

2018-05-04 19:56:46

阅读数:29

评论数:0

HDU 1717 小数化分数2

Problem DescriptionRay 在数学课上听老师说,任何小数都能表示成分数的形式,他开始了化了起来,很快他就完成了,但他又想到一个问题,如何把一个循环小数化成分数呢?请你写一个程序不但可以将普通小数化成最简分数,也可以把循环小数化成最简分数。 Input第一行是一个整数N,表示有多少...

2018-04-30 17:34:55

阅读数:17

评论数:0

HDU 2057 A + B Again

Problem DescriptionThere must be many A + B problems in our HDOJ , now a new one is coming.Give you two hexadecimal integers , your task is to calcul...

2018-04-27 20:36:43

阅读数:24

评论数:0

HDU 2093 考试排名

Problem DescriptionC++编程考试使用的实时提交系统,具有即时获得成绩排名的特点。它的功能是怎么实现的呢?我们做好了题目的解答,提交之后,要么“AC”,要么错误,不管怎样错法,总是给你记上一笔,表明你曾经有过一次错误提交,因而当你一旦提交该题“AC”后,就要与你算一算帐了,总共该...

2018-04-27 19:50:22

阅读数:19

评论数:0

POJ 1511 Invitation Cards

In the age of television, not many people attend theater performances. Antique Comedians of Malidinesia are aware of this fact. They want to propagat...

2018-04-25 17:00:46

阅读数:28

评论数:0

POJ 1502 MPI Maelstrom

BIT has recently taken delivery of their new supercomputer, a 32 processor Apollo Odyssey distributed shared memory machine with a hierarchical commu...

2018-04-25 11:37:31

阅读数:20

评论数:0

POJ 3660 Cow Contest

N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all know, some cows code better than others. Each...

2018-04-25 08:26:03

阅读数:13

评论数:0

POJ 3259 Wormholes

While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path th...

2018-04-24 21:17:02

阅读数:29

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭