Esato Mobile
Regional : Asia Pacific : Finally! Free and Fullfledged gprs using Airtel Prepaid(India)
> New Topic
> Reply
< Esato Forum Index > Regional > Asia Pacific > Finally! Free and Fullfledged gprs using Airtel Prepaid(India) Bookmark topic
Page <  123 ... 484485486 ... 604605606>

samyakram Posts: 1

Any gr8 prgrmrs here???
Plz help me a pgm to solve,,,,,
U can do it using c,c++,java or php,,,,,,,,
If any plz report
--
Posted: 2007-06-10 14:41:47
Edit : Quote

rahul_mk Posts: 19

Mention the details of the program...
--
Posted: 2007-06-10 15:26:14
Edit : Quote

aatuif Posts: > 500

Quote:
On 2007-06-10 14:41:47, samyakram wrote:
Any gr8 prgrmrs here???
Plz help me a pgm to solve,,,,,
U can do it using c,c++,java or php,,,,,,,,
If any plz report


hac or dheeraj, imo...
--
Posted: 2007-06-10 17:16:00
Edit : Quote

aatuif Posts: > 500

Guys, where is everyone...
--
Posted: 2007-06-11 12:10:00
Edit : Quote

cowboy4900 Posts: 1

hey buddy atleast tell the details of the program...maybe i can help...i know C++ java python and html.
--
Posted: 2007-06-11 12:29:00
Edit : Quote

samyakram Posts: 1


So here is it
I. Problem description

Bluebay is a beautiful beach city where the most preferred means of commuting
is public transportation. Turtle Motor Corporation operates passenger buses in
the city of Bluebay. TMC runs a dozen echo-friendly buses across the city
almost 20 hours a day. Recently they found out that not all their routes are
making profit; they want to find out which are those routes and why.

People of Bluebay are very honest. They put in the right amount of money in the
ticket dispenser and get off at the correct stop.

Tickets are valued for the number of stops a passenger can travel with them. If
a passenger takes a ticket for 2-stop distance, he/she will get off at the
second stop from the boarding stop. Every passenger who uses TMC knows the
ticket rates and the places very well. The people of Bluebay are very prudent;
they don't over spend.

TMC has all the ticket data of the past six years with them. They want to
analyse the data. To start with, they want to build a program to find out how
many passengers used the bus between two given stops on a given trip. That's
the problem here to solve.

If you find that the description above does not cover all aspects of the
problem, you can make required assumptions. You need to document those
assumptions, if any.

Sample data is given in the file sample_data.txt. You should use this file as
the input for the program you write.

II. Sample Data and the Format Description

See the file sample_data.txt provided.

This is a Comma Separated Values (CSV) file. This file contains the ticket data
of one trip from stop-0 to stop-5. The first "column" indicates the Stop Number
and subsequent values in the row indicate the number of tickets dispensed for
1-stop distance, 2-stop distance, etc..

For example, consider the first line in the sample data file:

0,5,0,4,8,2

This indicates that:

The stop number is: 0 (the starting point).
Total tickets dispensed for 1-stop distance at stop 0 is: 5
Total tickets dispensed for 2-stop distance at stop 0 is: 0
Total tickets dispensed for 3-stop distance at stop 0 is: 4
Total tickets dispensed for 4-stop distance at stop 0 is: 8
Total tickets dispensed for 5-stop distance at stop 0 is: 2

The value "N" in rows indicates "Null". This means there is no possible value
for this field.

III. Expected Output

Here it is assumed that the program is tmc_pcount. To find out the number of
passengers traveled between stop 0 and stop 1:

/''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''\\
| $ ./tmc_pcount 0 1 |
| Total number of passengers travelled between stop 0 and stop 1 are: 19 |
| |
| $ ./tmc_pcount 1 3 |
| Total number of passengers travelled between stop 1 and stop 3 are: 35 |
\\________________________________________________________________________/

Sample data::
0,5,0,4,8,2
1,1,6,3,2,N
2,0,5,4,N,N
3,2,2,N,N,N
4,4,N,N,N,N
5,N,N,N,N,N

Plz PM me if any one can do it
--
Posted: 2007-06-11 14:19:24
Edit : Quote

aatuif Posts: > 500

You are a student of what...
--
Posted: 2007-06-11 15:23:00
Edit : Quote

dheeraj1 Posts: 6

@samyakram is that the project? And what help u want? don't expect us to make that project for you we can only help if u stuck any where.
--
Posted: 2007-06-11 20:36:49
Edit : Quote

cowboy4900 Posts: 1

hey that program can be done easily in java....and as dheeraj said....dont expect anyone to make a complete project for you...many people are here to help u if u need it...
--
Posted: 2007-06-11 23:58:18
Edit : Quote

se7an Posts: 8

guys, we got a problem, free GPRS is not working. it says forbitten. it worked last night. but now it says the remote computer refused. please post you expirence.
--
Posted: 2007-06-12 02:59:36
Edit : Quote
Page <  123 ... 484485486 ... 604605606>

New Topic   Reply
Forum Index

Esato home