Comments (7)
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.
@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.
Codeforces (and probably others) has APIs for authorization and submitting solutions.
Can you, please, add asubmit
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.
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.
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.
Please add this feature . it's a good idea which can speed up problem solving during contest.
from cph.
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.
from cph.
Related Issues (20)
- The Timed Out result will appear as well as the correct output (16ms).
- Why not support Special Judge & Memory Limit
- Correct answer but it is said 'Failed' HOT 2
- [Bug?] The Python `Received Output` will display Chinese as gibberish when without `Use Unicode UTF-8 for worldwide language support` in windows
- problem file name: both short & full HOT 5
- Where is the log of cph? HOT 2
- support for NU G++20 13.2 (64 bit, winlibs) compiler, for auto submit in firefox
- Custom starting template for every language
- Using -fsanitize=address as compile argument randomly gives testcase timed out for some reason
- How to debug using debug statements
- cant get testcases to local file HOT 1
- it would better if cph can load local test cases zipped into a zip file all at once HOT 2
- how to view the commands used for on clicking cph's run button? HOT 8
- I used cerr stream for debugging and as something is printed on cerr stream whether the expected outut matches to given output or not. It shows failed. How to do where judge only checkes expected output and recieved output irrespctive of error stream. HOT 1
- Bug : Input and Output is not getting parsed correctly HOT 4
- Files with Asian names are not being compiled.
- "Unbound breakpoint" on debugging the extension itself.
- Hope that when CPH encounters Chinese while scraping questions, it can automatically convert them into PinYin
- I want to change the storage path of the .bin file. HOT 2
- Does not support leetcode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cph.