uva-tool: A Command Line Based Tool for UVa Online Judge

Revision en5, by arafat_hasan, 2018-06-16 11:12:27

Hello, Codeforces!

Do you get bored doing the tasks listed below while solving problems continuously at Online Judges? I do :-|.

  • Copy code from IDE/Editor
  • Load the summit page of OJ
  • Paste your code to text area
  • Select language
  • Write problem no/ID
  • Click submit button
  • Check verdict

Here is a solution for UVa Online Judge.

To get rid of these problems, early of this year, I had written a Bash script for submitting solutions at UVa OJ and check verdict directly from my editor, VIM. It was working fine. Later, I had converted the script into C++ and submitted it as my university semester project, I did not want to spend time behind the semester project :p.

uva-tool has these features now:

  • Login and Logout at UVa OJ
  • Submit Problem
  • uHunting

As it works via command line, it can be easily integrate with any other IDEs or Editors. From the very beginning, I have been using it with VIM. I find out a way to integrate it with Geany, funny way actually, I have no plan to write a Geany plug-in.

Currently, it works only on Linux, I’m thinking of bringing Windows version soon.

And one thing, doing this sort of work in C++ is a foolish idea, but I had to earn some credit from my project without any effort (:p) and wanted to kill two birds with one stone. There are three more such tools, two of them written in python and one in node.js. So what? The satisfaction of submitting problem with your own written program is really cool.

Git-hub Link: https://github.com/arafat-hasan/uva-tool

Thank you!

Tags uva, uva-tool, tool, command-line

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English arafat_hasan 2018-06-16 11:12:27 4 GitHub link updated
en4 English arafat_hasan 2018-06-16 11:11:35 34 GitHub link updated
en3 English arafat_hasan 2017-12-11 11:29:29 1377 Initial revision (published)
en2 English arafat_hasan 2017-12-11 11:25:42 405
en1 English arafat_hasan 2017-12-11 11:22:09 14 Initial revision (saved to drafts)