Problem C: 排队

Time Limit: 1 Sec Memory Limit: 512 MB

Description