Web
2014-02-26
Today, I grabbed a router, which took me an hour to get, and I was always in a “crowded” queue before. I couldn’t help but think of the ticketing system I made for Beautiful Encounter last year. Someone asked, why can’t I get a ticket with the script I wrote? The mystery will be revealed in this article.
The conditions that the ticketing system must meet are:
- One person, one ticket, a person cannot get two tickets;
- The tickets to be issued every day must be issued exactly, neither more nor less (assuming there are enough people to grab tickets);
- The probability of successfully grabbing tickets with a program should not be significantly higher than the probability of manually grabbing tickets.