PetarMihalj's blog

By PetarMihalj, history, 4 years ago, In English

Cpack is a competitive programming helper tool, which packages the main source file along with included libraries into a single file, suitable for online judges. More info on github: cpack.

This might be useful for some of you, maybe in creating new libraries, maybe merging existing ones into this ecosystem. Since this was just released and is in heavy beta testing, please check it out, feel free to suggest any modifications you may have in mind, or report bugs.

Thanks :)

Full text and comments »

  • Vote: I like it
  • +1
  • Vote: I do not like it

By PetarMihalj, history, 4 years ago, In English

As the title says, I think expanding Codeforces API would be a good idea.

For example, adding a simple submit API call would ease the development of CLI tools and IDEs. An API call to list problem submissions, and one to download submission code would allow course organizers, like myself, to check for plagiarism. Every functionality which is available via "website", should be somehow accessible through the API. I know it`s a lot of work, but having such thing would be terrific.

Also, having a public API would encourage other judges to also expose theirs, and maybe set an unifying standard for online judges.

I am aware that there are some alternatives, like https://github.com/online-judge-tools/oj, but they don`t have full functionality, and can break when CF decides to change anything.

Let me know what you think, or whether this is already planned.

Full text and comments »

Tags api
  • Vote: I like it
  • +82
  • Vote: I do not like it