- Category:
- Console
- Tags:
-
[C/C++]
[源码]
- File Size:
- 1kb
- Update:
- 2016-11-07
- Downloads:
- 1 Times
- Uploaded by:
- 胡超臣
Description: N Description The company has employees, numbered 1 ~ n. The large number of employees, you need to prepare a management system for them. Employees must log in to register a code management system, the cancellation of leave management system, employees can update their own code at work. The working hours, all employees will be automatically canceled. Company management at any time may want to know how many employees work, as well as any employee registration code. The first line of input two integers n, m. Next m lines, one per line are the following: I a c // Log In: employee a login, code to c. If you have a login code will be updated c O a // Log Out: Number of employees as a cancellation. If a logged in, then log out invalid C // Close: working hours to all employees cancellation N // Number: asked how many employees are at work Q a // Query: ask a staff of code (if not log on or log off, regarded as-1) outputs an integer, is all inquiries (N, Q) and the answer (int said automatic
To Search:
File list (Check if you may need any files):
PA1-2(1).cpp