Welcome![Sign In][Sign Up]
Location:
Search - POJ 28

Search list

[Windows Develop2804

Description: poj2804,词典问题,实现简单的词典功能-poj2804, dictionary problem, easy implementation of the dictionary feature
Platform: | Size: 221184 | Author: michael | Hits:

[Windows Develop2816

Description: poj2816,解决红与黑问题,经典的递归问题 -poj2816, solve the problem Red and Black, classic recursion problem
Platform: | Size: 444416 | Author: michael | Hits:

[Windows Developpoj2814

Description: Time Limit: 1000ms Memory limit: 65536kB 题目描述 有9个时钟,排成一个3*3的矩阵。 现在需要用最少的移动,将9个时钟的指针都拨到12点的位置。共允许有9种不同的移动。如右表所示,每个移动会将若干个时钟的指针沿顺时针方向拨动90度。 移动 影响的时钟 1 ABDE 2 ABC 3 BCEF 4 ADG 5 BDEFH 6 CFI 7 DEGH 8 GHI 9 EFHI (图 2) 输入 从标准输入设备读入9个整数,表示各时钟指针的起始位置。1=12点、1=3点、2=6点、3=9点。 输出 输出一个最短的移动序列,使得9个时钟的指针都指向12点。按照移动的序号大小,输出结果-Time Limit: 1000ms Memory limit: 65536kB subject described in 9 clock, arranged in a 3* 3 matrix. Now need to move with the least, will have nine clock pointer Slide 12 o' clock. Allowed a total of 9 different mobile. Like right in the table below, each move will be a number of pointer clock toggle 90 degrees clockwise. Effects of clock movement 1 ABDE 2 ABC 3 BCEF 4 ADG 5 BDEFH 6 CFI 7 DEGH 8 GHI 9 EFHI (Figure 2) input from the standard input device 9 reads an integer, said the starting position of the clock pointer. 1 = 12 points, 1 = 3 points, 2 = 6 points, 3 = 9 points. Output Output a shortest movement sequence, making nine clock pointers all point to 12 points. According to the size of mobile serial number, output
Platform: | Size: 1024 | Author: jing | Hits:

[OtherBiorhythms

Description: poj 1006 生理周期 Description 人生来就有三个生理周期,分别为体力、感情和智力周期,它们的周期长度为23天、28天和33天。每一个周期中有一天是高峰。在高峰这天,人会在相应的方面表现出色。例如,智力周期的高峰,人会思维敏捷,精力容易高度集中。因为三个周期的周长不同,所以通常三个周期的高峰不会落在同一天。对于每个人,我们想知道何时三个高峰落在同一天。对于每个周期,我们会给出从当前年份的第一天开始,到出现高峰的天数(不一定是第一次高峰出现的时间)。你的任务是给定一个从当年第一天开始数的天数,输出从给定时间开始(不包括给定时间)下一次三个高峰落在同一天的时间(距给定时间的天数)。例如:给定时间为10,下次出现三个高峰同天的时间是12,则输出2(注意这里不是3)-poj 1006 menstrual cycles Description born with three menstrual cycles, were physical, emotional and intellectual cycles, their cycle length is 23 days, 28 days and 33 days. Every day is a cycle peak. At the peak, people will behave well in corresponding ways. For example, the peak period of intelligence, quick thinking people, concentration will be easier. Because different circumference three cycles, it is usually peaks of the three cycles of the same day. For each person, we want to know when the peak falls on the same day three. For each period, we will be given the first day of the beginning of the current year, (not necessarily the first time the peak appears) to a peak in the number of days. Your task is given a number of days the first day of the year the number of the output a given start time (not including the given time) the next triple peak the same day (the number of days a given time). For example: given time is 10, with the next peak occurred three days is 12, then
Platform: | Size: 1024 | Author: 宇文霏 | Hits:

CodeBus www.codebus.net