|
|
|||||||
| Home | Register | Downloads | FAQ | Members List | Calendar | Arcade | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Banned
![]() ![]() Join Date: Sep 2002
Location: Pakistan
Posts: 132
|
What the hell is this problem????
Can someone help me out of this problem!!! Queuing at the doctors If you have any solutions to this problem please help me!!! |
|
|
|
| Advertisement | [Remove Advertisement] |
|
|
|
|
|
#2 |
|
"Insert witty title here"
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2003
Location: In a house
Posts: 1,049
|
Is this some sort of programming assignment? The data is variable and the situation is layed out and everything. It seems like one of those simple problems that just confuses you with lots of info. I might try to find an answer for it later if no one else does, I'm too tired right now.
|
|
|
|
|
|
#3 |
|
Banned
![]() ![]() Join Date: Sep 2002
Location: Pakistan
Posts: 132
|
Thanks for the reply bcrew1375, it is a problem that my friend asked me and I just can't seem to understand it. How do you solve it!!! Though I got a hang of it now. Still there are confusions...Anybody else, help might be appreciated. |
|
|
|
|
|
#4 |
|
Banned
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2002
Location: Nirvana
Posts: 1,947
|
i don't get it either...
|
|
|
|
|
|
#5 |
|
Registered User
![]() ![]() ![]() ![]() ![]() Join Date: Sep 2002
Location: St Andrews, Scotland
Posts: 1,577
|
I get it. Maybe I'll put something together later.
__________________
Computer: White MacBook (late 2008) - OS: Mac OS X 10.5.7 - CPU: Intel Core 2 Duo 2.1GHz - Memory: 4GB DDR2 PC2-5300 |
|
|
|
|
|
#6 |
|
3D Gamer
![]() ![]() Join Date: Jan 2004
Location: Mars sector 11
Posts: 226
|
too much reading lol
|
|
|
|
|
|
#7 |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Aug 2003
Location: Victorville(Near Los Angeles or LA for those who are on the DL)
Posts: 839
|
Seems like this was meant as a programming problem. In C++ you could use a deque from the STL. and then just push ICORE members onto the back and pop them as doctors become available.
__________________
----------------- Emu Tinkerer and C++ Programmer |
|
|
|
|
|
#8 |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
|
To solve this, you would write a program. A program is a sequence of statements, written in a formal language a computer understands. Since this is a simple task, about any programming language should do. The main part is the simulation of the behaviour of the people in the queue in front of a doctor's office.
__________________
If you think my English is bad, wait till you read my Polish. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|