On occasion, I use the Group to organize competitions and use it to select excellent participants. However, in the process of using it, I found two problems.
- It seems that only the contest creator export code, while the Group administrator does not have this function. The only difference between the following two contests is that in one of them I am not the creator, just a manager.


- Another problem is that Codeforces' export code function is named after the submission ID. Another problem is that Codeforces' export code function is named after the submission ID. It is troublesome when you need to analyze the downloaded code files. Especially when I use tools like SIM or Jplag to check the code, I can't quickly see who the code with a high duplication rate comes from, and I need to click the links one by one to confirm.
Firstly, I went to Github to find out if there was an open-source solution. Most of the repositories on Github are downloading a user's AC code, downloading test data, or crawling PDF statements. But this is for downloading the official competition source code, have not yet seen the same.
So, to solve this problem I recently encountered, and to get started with Golang, I wrote my little tool to help me download the AC code of the official participants in a given race in a specified format.
Although in fact it's not an obvious problem, the process of solving it is interesting and that's enough.
Here is my repository link, and I hope this little tool can help some of you who have the same problem as me.








