I’m from the IDK IDK IDK team, the only non-Vietnamese team that can complete the ASCIS 2021 1st round “Calculate me.”
This write-up wants to show you our technique and how to calculate and submit the result before the timeout reached (5 seconds).
For the first time, we have created Python Script to connect to the server and calculate results and then reply.
However, it was always timed out.
So I was perplexed as to why the script was not fast enough.
The ASCIS 2021 Server IP address is 184.108.40.206, and it is hosted by Viettel.
The round trip time from Thailand is ~70ms, and from Singapore is ~50ms.
I believe that the timeout may be insufficient to complete all math problems.
As a result, I chose to rent a new server from Viettel IDC.
After that, I discovered that there were 256 math problems, and the timeout was set to 5 seconds (which I later found that the ASCIS 2021 organizer had increased to 10 seconds)
If we perform the math using Singapore RTT.
256*50ms = 12.8 seconds
Even a Singapore server cannot accomplish this amount of tasks in time.
So not only everyone should know to program. But everyone should live in Vietnam or have sufficient funds to pay the Vietnam Cloud Provider.