agrawal-d / cph

Makes judging, compiling, and downloading problems for competitive programming easy.
https://agrawal-d.github.io/cph
GNU General Public License v3.0
806 stars 133 forks source link

[feature request] How about submit button? #17

Closed genalt closed 4 years ago

genalt commented 4 years ago

Codeforces (and probably others) has APIs for authorization and submitting solutions. Can you, please, add a submit button?

Thanks.

agrawal-d commented 4 years ago

Thanks for the feature request. I will keep it in mind during future development, but do not expect to implement this for a few months.

mr2rm commented 4 years ago

Codeforces (and probably others) has APIs for authorization and submitting solutions. Can you, please, add a submit button?

Thanks.

@grinrag Yesterday in CodeForces contest I was thinking about it. I think it's a good idea which can speed up problem solving during contest.

Thanks for the feature request. I will keep it in mind during future development, but do not expect to implement this for a few months.

@agrawal-d I'm ready for it. I can help you to do it.

agrawal-d commented 4 years ago

I'm ready for it. I can help you to do it.

@mr2rm Thanks! Feel free to send a PR, and comment here if you need to discuss anything. Before you work on it, I would appreciate it of you could share how you plan to design it.

mr2rm commented 4 years ago

@agrawal-d Thanks! I will talk about it as soon as I wanted to start it. For now, there are other things I want to do which I need them.

mfornet commented 4 years ago

I think this is a very nice feature to have for a lot of tools. My idea for submit is having an external tool, similar to competitive-companion (probably a browser extension too) that allows integration with other tools.

The overall idea is as following:

Pros:

grim-firefly commented 4 years ago

Please add this feature . it's a good idea which can speed up problem solving during contest.

agrawal-d commented 4 years ago

I recently contacted Mike, and he said there are no plans to create a submit API. As such, I do not intend to develop a complicated solution to submit solutions, so a 3rd party tool will be the best option.

@mfornet has some interesting ideas above, and those may be useful for developers who want to implement this feature as a separate tool.

image