Location:
Search - hill.r
Search list
Description: 问题描述:
虽然离开浦口了,但在浦口校区后山大家还都有印象吧,可你知道有一座小山在冬天下大雪的时候是可以滑雪的,SEU很喜欢滑雪,这并不奇怪, 因为滑雪的确很刺激,可是为了获得速度,滑雪区域必须向下倾斜,而且当你到底时不得不重新走到上面重滑。SEU想知道在这个区域中最长的滑坡。区域由一个二维数组给出。数组的每一个数字表示山坡上一个点的高度。
下面是一个例子:
一个人可以从一个点滑向上下左右相邻的四个点之一,当且仅当高度减小。在上面的例子中,一条可行的滑坡为24-17-16-1(从24开始,在1结束)。当然25-24-23-…-3-2-1更长。事实上,这是最长的一条。
输入要求:
从文件输入,输入的第一行为表示区域的二维数组的R行数和C列数(都在1到100之间)。下面是R行,每行有C个数,代表高度。
输出要求:
输出数据到文件,输出区域中最长滑坡的长度。
输入样例:
5 5
1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9
输出样例:
-Problem Description : Although left Pukou, but in Pukou Campus of the mountain we also have the impression it. You know a hill under the snow in winter is the time to ski, ski SEU like, it is not surprising, because skiing is very stimulating, but in order to obtain the speed, skiing region must downward slopping. but in the end when you had to re-entering the sliding weight above. SEU would like to know the longest in the region of landslide. From the region is a two-dimensional array. Every one of the array of figures on the hillside a high point. Here is an example : a person can be slid from a point adjacent to the next around one of the four points, and only if highly reduced. In the example above, a possible landslide as 24 -17-16-1 (from 24, in a conclusion). Of course 25 -24-23
Platform: |
Size: 780 |
Author: laochao |
Hits:
Description: SOFTWARE ENGINEERING
Published by McGraw-Hill, an imprint of The McGraw-Hill Companies, Inc. 1221 Avenue of the
Americas, New York, NY, 10020. Copyright/2001, 1997, 1992, 1987, 1982, by The McGraw-Hill Companies,
Inc. All rights reserved. No part of this publication may be reproduced or distributed in any
form or by any means, or stored in a database or retrieval system, without the prior written consent
of The McGraw-Hill Companies, Inc., including, but not limited to, in any network or other electronic
storage or transmission, or broadcast for distance learning.
This book is printed on acid-free paper.
1 2 3 4 5 6 7 8 9 0 DOC/DOC 0 9 8 7 6 5 4 3 2 1 0
ISBN 0073655783
Publisher: Thomas Casson
Executive editor: Betsy Jones
Developmental editor: Emily Gray
Marketing manager: John Wannemacher
Project manager: Karen J. Nelson
Production supervisor: Heather Burbridge
Coordinator freelance design: Keith McPherson
Supplement coordinator: Rose Range
New media: Christopher Styles
Cover design: Rhiannon Erwin
Cover illustrator: Joseph Gilians
Compositor: Carlisle Communications, Ltd.
Typeface: 8.5/13.5 Leawood
Printer: R. R. Donnelley & Sons Company
Library of Congress Cataloging-in-Publication Data
Pressman, Roger S.
Software engineering: a practitioner’s approach / Roger S. Pressman.—5th ed.
p. cm.— (McGraw-Hill series in computer science)
Includes index.
ISBN 0-07-365578-3
1. Software engineering. I. Title. II. Series.
QA76.758.P75 2001
005.1—dc21
00-036133
http://www.mhhe.com
Platform: |
Size: 5368334 |
Author: zhangguangyun@gmail.com |
Hits:
Description: 问题描述:
虽然离开浦口了,但在浦口校区后山大家还都有印象吧,可你知道有一座小山在冬天下大雪的时候是可以滑雪的,SEU很喜欢滑雪,这并不奇怪, 因为滑雪的确很刺激,可是为了获得速度,滑雪区域必须向下倾斜,而且当你到底时不得不重新走到上面重滑。SEU想知道在这个区域中最长的滑坡。区域由一个二维数组给出。数组的每一个数字表示山坡上一个点的高度。
下面是一个例子:
一个人可以从一个点滑向上下左右相邻的四个点之一,当且仅当高度减小。在上面的例子中,一条可行的滑坡为24-17-16-1(从24开始,在1结束)。当然25-24-23-…-3-2-1更长。事实上,这是最长的一条。
输入要求:
从文件输入,输入的第一行为表示区域的二维数组的R行数和C列数(都在1到100之间)。下面是R行,每行有C个数,代表高度。
输出要求:
输出数据到文件,输出区域中最长滑坡的长度。
输入样例:
5 5
1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9
输出样例:
-Problem Description : Although left Pukou, but in Pukou Campus of the mountain we also have the impression it. You know a hill under the snow in winter is the time to ski, ski SEU like, it is not surprising, because skiing is very stimulating, but in order to obtain the speed, skiing region must downward slopping. but in the end when you had to re-entering the sliding weight above. SEU would like to know the longest in the region of landslide. From the region is a two-dimensional array. Every one of the array of figures on the hillside a high point. Here is an example : a person can be slid from a point adjacent to the next around one of the four points, and only if highly reduced. In the example above, a possible landslide as 24-17-16-1 (from 24, in a conclusion). Of course 25-24-23
Platform: |
Size: 1024 |
Author: laochao |
Hits:
Description: McGraw.Hill的Android.A.Programmers.Guide
pdf格式,Android 程序员指南,非常适合初学者入门,虽然是英文的,但是简直是事无巨细地介绍和手把手地教,比目前可以找到的中文资料都详细-McGraw.Hill the Android.A.Programmers.Guide pdf format, Android programmers guide, very suitable for beginners entry, although in English, but is obsessed with hand- in-hand introduce and more detail than the current information can be found in chinese
Platform: |
Size: 3833856 |
Author: 新蛮狼 |
Hits:
Description: maya mel语言创建山的代码 适合初学者学习-maya mel create a mountain of code language for beginners
Platform: |
Size: 1024 |
Author: cg |
Hits:
Description: W-CDMA and cdma2000 for 3G Mobile Networks
M.R. Karim and M. Sarraf
McGraw-Hill
New York Chicago San Francisco Lisbon
London Madrid Mexico City Milan New Delhi
San Juan Seoul Singapore Sydney Toronto
Platform: |
Size: 1546240 |
Author: ghassan |
Hits:
Description: 用直接插入法对R排序 /用希尔排序法对数据表R排序,D为增量序列,元素个数n,步长序列个数numOfD 用冒泡排序法对R排序 用直接选择排序法对R排序 堆排序 对有序表a[0]--a[n-1]进行一次二路归并排序,每个有序子表的长度为k
//一次二路归并排序后新的有序子表存于swap中
{ 用二路归并排序法对对象数组a[0]--a[n-1]排序
{-Direct insertion method to sort the R/R Hill sorting the data table sorting, D increments the sequence number of elements n, the step sequence number numOfD Bubble sort by direct R Sort Selection Sort R sort heap sort of ordered list of a [0]- a [n-1] one-way merge sort, the length of each ordered the child table is k// a way merge sort ordered child table stored in the swap way merge sort object array a [0]- a [n-1] {sort {
Platform: |
Size: 2048 |
Author: 党心蕊 |
Hits:
Description: Datasheet complete R. L. Daugherty and J. B.Franzini (1965) Fluid Mechanics, 6th ed. New York: McGraw-Hill,
pp.338-349.
Platform: |
Size: 1659904 |
Author: kenonew |
Hits:
Description: 各种排序算法的代码,包括选择排序、冒泡排序、插入排序、快速排序、堆排序、希尔排序。-关闭翻译英语中文德语检测语言
中文(简体)英语日语
翻译文字或网页
各种排序算法的代码,包括选择排序、冒泡排序、插入排序、快速排序、堆排序、希尔排序。
请键入文字或网站地址,或者上传文档。
取消
Gè zhǒng páixù suànfǎ de dàimǎ, bāokuò xuǎnzé páixù, mào pào páixù, chārù páixù, kuàisù páixù, duī páixù, xī ěr páixù.Various sorting algorithm code, including the selection sort, bubble sort, insertion sort, quick sort, heap sort, Hill.
Platform: |
Size: 1024 |
Author: 应兆平 |
Hits: