arafat_hasan's blog

By arafat_hasan, history, 10 months ago, In English,

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!

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

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Well done..

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Nice work.I really appreciate it.

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I want for windows And IDE will be codeblocks as well.

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Nice Work

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Helpful...well done

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

WOW! Very helpfull project...

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

will it work with codeblocks in windows?

  • »
    »
    10 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I will work to bring a windows version, depending on my leisure time. Then it will also work in windows.

    You can also contribute to the project, bring a windows version, it just to change some variables, and system based functions.

»
8 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Great work <3. Keep it up :) :)

And waiting for windows version :)