GetACoder.com

 
 

Home | My Account | Post Job | Browse Jobs | RSS Feeds | Careers New!

 

Java Simulator Progamming

 
 
Download the Free Step-by-Step Guide
     
Job Summary:
 
Job Type: Project
Budget: $ 20-100
Required Skills: Java, Javascript, Programming
Attached Files: (None)
 
Status: Work Performed (selected user phspace)
 
Buyer Summary:
 
Username:
Shache  
Feedback Score: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10 11 reviews
Award Reliability: 14 posted 9 paid
 
Location: Shenzhen, China
Member Since: October 4, 2007
 
Invited Users: There are no invited users


Description
Task is to write a simulator that will keep track of photos remaining on the screen by using Java Collection Framework (JCF). No graphical user interface (GUI) is allowed. At the end of the simulation, your program is to display the photos remaining on the screen in the order from left to right. Photos in each simulation will be identified by a unique name (a string without spaces) and its width. There are three types of events in the simulation:

* Arrive: A new photo arrives from the left side of the screen and pushing other photos to the right as needed. No photo moves to the right unless it is pushed by an adjacent photo on its left. Any photo that is not entirely on the screen will disappear. No single photo will ever be wider than the given screen.

* Pick Up: A photo identified by a unique file name is to be picked up. If the photo is on the screen, it will disappear from the screen and leave a hole on the screen; otherwise, the pickup operation is ignored.

* End: End the simulation for this case and print the remaining photos on the screen.
Input File

The input file will contain data for one or more simulations. The end of the input is signaled by a line containing only a single integer -1. Each simulation will begin with the integer width of the screen, s, followed by a series of Arrive, Pick Up and End events. An Arrive event is a single line beginning with an upper case A followed by the unique photo name and an integer denoting the width of the photo, w. A Pick Up event is a single line beginning with an upper case P followed by the photo name. Finally, the End event is a line containing only a single upper case E. All items in a line are separated by a single space.




Reminder
You may not start working in this and any request before your bid is accepted. Users who violate this policy may have their accounts permanently suspended.



 Bids Received (6)   Shortlist (0)   Declined Bids (0)   
Average bid amount:   $85.00   Average delivery time:   7 Day(s)
Place Bid | Post Similar Job | Send Request | Contact Shache

Order by:

 

Remember that contacting the other party outside the site (by email, phone, etc.) on all business jobs (before the request is awarded) is a violation of our terms of use. We supervise all site activity for such infringements and can immediately expel transgressors on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thank you for your help.
 

 
send private message
Shortlist
Decline Bid
amrankuet  
Dhaka, BD
location
US$90
bid amount

10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(38 reviews)

feedback
3 day(s)
delivery time

 
 
Hello, Please check PM. Thanks
Bid Time: 08-19-2008 13:54
 
send private message
 
phspace  
Bangalore, IN
location
US$70
bid amount

7.31/107.31/107.31/107.31/107.31/107.31/107.31/107.31/107.31/107.31/10
(16 reviews)

feedback
11 day(s)
delivery time

 
 
We have gone through the details as well as have completely understood the scope of the work. We are very much interested to work on the proposed project and are ready to get started with the work at the earliest. Kindly PMB for more details. Warm Regards, SYLPHO Technologies Team
Bid Time: 08-19-2008 07:01
 
send private message
Shortlist
Decline Bid
truptidalia  
Mumbai, IN
location
US$60
bid amount

9.60/109.60/109.60/109.60/109.60/109.60/109.60/109.60/109.60/109.60/10
(5 reviews)

feedback
2 day(s)
delivery time

 
 
Kindly refer PM.
Bid Time: 08-19-2008 11:32
 
send private message
Shortlist
Decline Bid
cannons4u  
Lucknow, IN
location
US$80
bid amount

5.67/105.67/105.67/105.67/105.67/105.67/105.67/105.67/105.67/105.67/10
(3 reviews)

feedback
2 day(s)
delivery time

 
 
plz chk PMB
Bid Time: 08-18-2008 13:50
 
send private message
Shortlist
Decline Bid
cameo  
Coimbatore, IN
location
US$150
bid amount

(No Feedback Yet)
feedback
20 day(s)
delivery time

 
 
Hi, Please check Private Message
Bid Time: 08-19-2008 10:16
 
send private message
Shortlist
Decline Bid
suckyz  
Sydney, AU
location
US$60
bid amount

(No Feedback Yet)
feedback
2 day(s)
delivery time

 
 
please check PM thx
Bid Time: 08-19-2008 06:59
 
 


 
Get the Free Step-by-Step Guide on How to Use GetACoder
The act of outsourcing jobs has become easy in the past few years thanks to GetACoder. However, our team aims at making the whole process even easier. So, it has now come the time to provide you with a step-by-step guidance on how to use this service and succeed in the outsourcing world totally for FREE.

It doesn't matter if you are a more experienced user or a novice; using GetACoder will become even simpler with the help of this E-book. There are two major sections: a Buyers section and a Coders section.

Buyers will learn:
  • How to outsource safely
  • How to pick the best freelancers
  • How to manage time and money

Coders will learn:

  • How to get the best jobs
  • How to secure their payments
  • How to build a long-lasting relationship with buyers

    ...and MUCH MORE
Clear examples and pictures illustrating key situations, great tips and real testimonies of some of our best users... all in this Outsourcing Guide.  So don't loose the outstanding opportunity to download GetACoder FREE E-book.
The Outsourcing Revolution: Why It Makes Sense and How to Do It Right
The Outsourcing Revolution: Why It Makes Sense and How to Do It Right
What is GetACoder?

GetACoder.comGetACoder is a leading Global Services Marketplace doing business in more than 200 countries. Our unique system accelerates your time to market and provides your business with key competitive advantages. When you use GetACoder you are stretching your budget and saving as much as 60% over traditional outsourcing. GetACoder is changing business, now it's no longer about what you own or build but which resources and talent you can access. With GetACoder you reduce expenses, increase efficiencies, aggressively grow your business, and create a sustainable competitive advantage. GetACoder makes outsourcing to any part of the world an easy task! With GetACoder it's simple to outsource any business request, gain access to global talent and manage jobs online.

One of the main advantages of GetACoder is the low labor cost. The typically rates are about seven times lower than the ones in the US or Europe. Posting a request at GetACoder allows the right professional or company to find you and to bid for your work. We are building a reputation for exceeding our customers' expectations and for becoming an extremely cost effective way to outsource work. Use GetACoder when you want to save money, increase efficiency or accelerate the development of your request. With GetACoder you focus on growing your business and let others do the tedious work. Post your request on GetACoder for free. Find out why people outsource jobs with us day after day.

Thousands of Satisfied Customers - Submit/View Quotes


-GAC is exactly what I was looking for to make some extra cash out of my education and experience, and get to know some interesting people. Thanks GAC - influxive
-it is the one of the way from where a man/woman can easily build his/her carrier. - Rana0
-I like this site very much. It is great because the business generated is pretty active here. I come in everyday to check out if I got an order. Good way to go!!! - vinusub
Report Violation    Privacy Policy     Affiliate Program    Terms of Use    Contact Us    Help      GetACoder.com on Facebook      Follow GetACoder on Twitter      GetACoder.com Latest Requests RSS Feed
© 2004-2012 GetACoder. All rights reserved.