Small Program to copy one account's submission to another on Codeforces
When you have many accounts, and you want to merge them, you can copy the submissions.
- install python3
- input
pip install robobrowser
in command line - input your handle & password in usr.txt
- run the program
- input the handle you want to copy from
- input the filter.
- input 'y'
- wait and end. (if there are too many submissions to copy, the quota of codeforces may be reached. In this situation wait for 5 minutes and retry)
- Only Copy id>=53000000
sub["id"]>=53000000
- Only copy 1173A/B/C/D/E/F...
sub["contestId"]==1173
- Only copy AC code
sub["verdict"]=="OK"
- Obtain two conditions
sub["contestId"]==1173 and sub["verdict"]=="OK"
for more, please view the API of Codeforces and the source code of the program.