Coder Social home page Coder Social logo

Comments (7)

agrawal-d avatar agrawal-d commented on July 29, 2024 1

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.

from cph.

mr2rm avatar mr2rm commented on July 29, 2024 1

@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.

from cph.

mr2rm avatar mr2rm commented on July 29, 2024

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.

from cph.

agrawal-d avatar agrawal-d commented on July 29, 2024

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.

from cph.

mfornet avatar mfornet commented on July 29, 2024

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:

  • Create a browser extension that spawns a local server listening for source code submit request. Each request is a json with some fields (platform, problem_id, language, source_code).
  • The extension itself will leverage that is logged in such platform and try to make the submission.

Pros:

  • We will not need to give our credentials to any 3rd party tools. (However the browser extension have access to our cookies so it need to be verified it is not leaking them some how).
  • It will allow several tools to do automatic submit without too much effort.
  • This browser extension will have users from all other tools that integrate with it from the ICPC ecosystem so it will be much more tested.
  • It is easier (and more rewarding) to contribute to this tool with new online judges support.

from cph.

grim-firefly avatar grim-firefly commented on July 29, 2024

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

from cph.

agrawal-d avatar agrawal-d commented on July 29, 2024

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

from cph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.