Closed rohanailoni closed 2 years ago
I agree this is a good idea and I was going to look into it in the future. However, I do not believe that the introduction of a new command is needed. It would be better to solve it as it normally is in the browser -- cookies are responsible for logging in. If they expire, the site sends a login request.
If you want to take care of it, say so and I'll assign you.
@mdbrnowski yes i will give it a try
Closed with #16
As i have seen the code we are login in every time we submit a solution.At the time of the contest there is high traffic and we are pinging 2 times . waititng till we get
accepted
orwrong answer
(every 0.05 sec sleep).My idea is to create a
cft login
which will login and store the pickle the session object in~/.codeforces-toolbox
folder so while submitting we can open the pickle object and send the submit solution