Description: The Description
The first person who comes to the machine room every day will open the door, and the last one to leave will close the door. There is a jumble of room signs
Please check the records and find out the person who opened the door and closed the door on the day.
The Input
The first line of the test input gives the total number of days recorded. 0). A record of N days is listed below.
Each day records the number of items recorded in the first line. 0), the following is the M line, which is in the format of each line
Check the time signature of the document number
The time is given by "hour: minute: second" (each of the two), and the id number is a string of no more than 15.
The Output
For each day's record output 1 line, that is, the number of the id number of the door and the door closed, separated by 1 space.
Note: in the referee's standard test input, all records are guaranteed to be complete, each person's check-in time before the time of signing,
And there are not many people who sign in or sign off at the same time.
To Search:
- [POJ] - Beijing University ACM Collection questi
- [ACM] - West electricity ACM classes used PPT le
- [OVPNEW] - POWER SUPPLY OVP TEST
- [bch_pkg] - The calculation of multiple algebraic su
File list (Check if you may need any files):