- Category:
- Other systems
- Tags:
-
[Text]
- File Size:
- 1kb
- Update:
- 2013-03-11
- Downloads:
- 0 Times
- Uploaded by:
- 陈和
Description: The newly established Drunbee Bank, opened offices in Fuzhou. Each customer has a determined and only
No. ID, go to the bank to transact business customers will get a priority P and wait in the lounge. The bank break with tradition,
Not always take the highest priority from the lounge customers to transact business. Therefore, banks need to complete the following functions
Be able to:
0 system stops working, all business and no longer be accepted.
1 ID P lounge increase a number ID, priority P of customers
2 highest priority customers to transact business, and leave the lounge
Lowest priority customers to transact business, and leave the lounge
Your task now, of course, is the completion of the above functions. ★ data input
Each row of data constituted by the above three functions in a processing system stops working.
To ensure that the system will stop working, and each person s ID is not the same, is also not the same as the priority of each person.
The input
To Search:
File list (Check if you may need any files):
1.txt