# A small programming task, plz respond at the ealiest..

Hi Guys ,small task to you all... sam seeks your help to know the longest run possible with the given peaks. That altitude of different peaks is given by a grid of numbers. Look at this example:

7 2 3 4 5 36 37 38 34 6 33 44 46 40 7 24 43 42 41 8 35 32 47 30 9

One can ski down from one peak to a connected peak if and only if the height decreases. One peak is connected to another if it's at left, at right, above or below it. In the sample map, a possible ski path would be 36-33-24(start at 36, end at 24). Of course if one would ski 46-44-43-42-41-30-9....3-2, it would be a much longer run. In fact, it's the longest possible. There could be more than one longest ski path, but all sam needs from you is to tell maximum number of peaks he could cover for a given map, in this case it is 14. ALL INPUTS comes from input.txt file.

Related Tutorials/Questions & Answers:
A small programming task, plz respond at the ealiest..
A small programming task, plz respond at the ealiest..  Hi Guys ,small task to you all... sam seeks your help to know the longest run possible with the given peaks
sir plz do respond to my problem immediately - Java Beginners
sir plz do respond to my problem immediately  Hello sir, Iam very happy that you have responded to my problem.The code u sent... code(sent by you).plz inject that code into my browser code so that it can show
sir i want small project with of health care system with struts and hibernate plz help me
sir i want small project with of health care system with struts and hibernate plz help me  sir i want small project on health care system with struts and hibernate plz help me
task 1 - Java Beginners
task 1  Please write a Java client that send a small letters string to a Java server which convert it to uppercase letters and send it back to the client. Please submit both the client and server programs  Hi Friend
Small clarification
Small clarification  This function is used to search and select particular word. In this function document.getElementById('d')); getElementById is used to get the element by using id,but here there is no id with 'd', what
PHP Functions
3.11. Functions Function provides power to any programming language. It works like a small machine to perform any task between the programs. In PHP, Function is the real power which can be created and utilized as per the programming
Java task scheduling  What is a task?s priority and how is it used in scheduling
Java task scheduling  What is a task?s priority and how is it used in scheduling
small query - JSP-Servlet
small query  how to set value to textbox on browser side which is retrived from the database?  Hi friend, Plz explain problem in details which technology you have used e.g. JSP/Servlet/Java etc... For more
plz plz plz inform me as soon as possible
plz plz plz inform me as soon as possible  ``by using c programs how to type
Java Timer Task  How to assign a task in java at specified date & time (with seconds) using threads
task 2 - Java Beginners
task 2  Write a time server that follows the time protocol outlined in RFC 868. When a client connects, the server sends a 4-byte, big-endian, unsigned integer specifying the number of seconds that have passed since 12:00 A.M.
Programming
Programming  Given a number n, write a programming to determine its square root if it is possible, in the contraly case print an appropriate massege on the screen
plz help
plz help  what is the procedure and code to design an interactive GUI in java using swings
programming
Java Constructor programming for single and double constructor  write a program which have no argument constructor ,single parameter constructor constructor,double parameter constor,and the now when we create a object
Small Business Marketing Services
Web design and programming comapnies Small Business Marketing Services offers...Small Business Marketing Services These days Small Business around the work is looking for cheap, reliable and result oriented Small Business Marketing
plz give me answer plz
plz give me answer plz  writw a programme to find rank from an array using doubledimmensionalarray
Plz Help
Plz Help  Hello Guys!! Plz. Help I need to write a program to display the astrological sign based on your birthday for example If we enter the date of birth in the following format from console--13/08/1990 it should give you
Small business administration classes  Hi, How Small business...   Hi, The manage of any small business are doing a lot of different types... process of the business. So, if you are a manager of small business then you
plz plz rply as soon as possible
plz plz rply as soon as possible  by using c programs * * * * * s s s s s * s s o s s s s s s s s s s s s s s s s s s s s s s s
Solving task 1 by 1 from bundle of task data
Solving task 1 by 1 from bundle of task data  Hello and namaste guys... of row.row means task.in each task, there will be an information like userid, Taskid, user_input i have to use the information for eash task to solve the task
please do respond to my problem sooooon sir - Java Beginners
please do respond to my problem sooooon sir  Hello sir, Sir i have executed your code and i got the result but the problem is whenever i click on the link in my browser the link is opened in the internet explorer.i need
small code - JDBC
small code  Hi Team, I want to write program for my team in this code i have list of websites when ever this site is down this code shows site is down message and if site is up it will give message site is up. Thanks
socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java
socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java
socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java
How to disable task manager using java
How to disable task manager using java  How to disable task manager using java
Cloud Computing Solutions for Small Business
Cloud Computing Solutions for Small Business  Hi, Which Cloud Computing Solutions for Small Business is good. How to choose best Cloud Computing Solutions for Small Business. There are many small business around the world