Recommended topcoder Competition Arena Plugin-kawigiedit

Source: Internet
Author: User

As we all know that the score of the topcoder algorithm competition is calculated by the time you used to complete a problem. Since you opened a problem, the score is decreasing.

Kawigiedit can generate the code framework (the package including, the class name, the method name) automatically and help ypu to focus on the algorithm part.

Installation:
1. download the latest kawigiedit jar (currently 2.1 a. k. a pivanofedit 1.0) to your computer
2. Launch the competition arena and log in to your account
3. Choose "options"-"Editor"-"add"
4. For "name", enter "kawigiedit" (or whatever you want it to be called, it doesn't really matter)
5. For "entrypoint", enter "kawigi. kawigiedit" (This one does matter ).
6. for "classpath", hit "Browse" and find the kawigiedit jar. you shoshould not have a previous version of kawigiedit in the global classpath (in the text field on the top of the editor preferences DIALOG ). and click OK.
7. Check the "default" box next to the new entry in the table. And then click "save ".

How to use:

1. Generating code:

When opened a probelem (Here we use tchs SRM 3 Div 1 as a example, I choose Java as my programming language). Let's see the definition from the problem statement:

Class: kidswordgame
Method: getcheater
Parameters: String [], string [], string []
Returns: int
Method Signature: int getcheater (string [] First, string [] Second, string [] third)

And then, see what kawigiedit does for us. click "generate code", it will generate the code framework according to the problem statement for you as fellow :( it can be modified in the "configration ", but default codes can work perfectly for most people)

Import java. util .*;
Import java. util. RegEx .*;
Import java. Text .*;
Import java. Math .*;

Public class kidswordgame
{
Public int getcheater (string [] First, string [] Second, string [] third)
{

}

<%: Testing-code %>
}

Isn' t that amazing? What you need to do is just finishing the method.

2. Test code locally:

When finished the code, click "run tests" to test you code using the cases which are provided in the problem statement. it will goes to the output tab and displays the result of your code for each cases. when all cases match the expected result, it will displays "you're a stud (at least on the example cases )! ", And now you can submit your code to topcoder.

There are a lot of more features and kawigiedit is highly customizable.

Download-kawigiedit 2.1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.