Skip to content

Problem Solving Using KHelper

Shikhor Roy edited this page Dec 29, 2025 · 3 revisions

Competitive Companion

Install Competitive Companion extension from chrome web store or mozilla addons.


Solve a Prolem

  • Open a problem from Codeforces, e.g. Watermelon

  • Click on the Parse Task Competitive Companion button

image

Based on the KHelper Settings > Preferred Language, it will generate a Solution source.

e.g. Kotlin solution:

image

or Java solution:

image

Kotlin Runtime Setup

First time for Kotlin, it may ask to Configure Kotlin runtime. Click on Configure and select Java.

image

Run & Debug

Write your solution. KHelper already created a run configuration for you. Just click Run or Debug button to run your solution against sample test case, parsed from online judge.


Test Case Management

You can click KHelper tool from the right side tool window. It will show the problem information. From here you can manage your test cases. You can, (1) Edit, (2) Delete, (3) Add New Test, (4) Deselect All Tests, (5) Select All Tests

image

Submit Your Solution

When you run or debug your solution successfully, it will generate a Main.kt or Main.java file on your output directory. You can submit this Main file directly on online judge. Or you can Copy your solution from KHelper toolbar.

Clone this wiki locally