David_Ezzat's blog

By David_Ezzat, 7 hours ago, In English

If you do a lot of competitive programming, you know how annoying it can be to manually copy test cases, create files, and compare outputs. That’s where CPH (Competitive Programming Helper) comes in—it automates all of that!

How It Works

- One Click to Fetch a Problem: With the CPH extension for Firefox, you can click a button on a problem page, and it will send the test cases directly to VS Code.

- Select Your Language: Open VS Code, pick your programming language, and you're good to go.

- Auto-Generated File: CPH creates a file with sample test cases already included.

- Run & Compare Instantly: Execute your code, and CPH will automatically compare your output with the expected output.

- Quick Verdicts: It tells you right away whether your solution passes or not.

- Submit Directly from VS Code: Once you're happy with your solution, you can submit it directly from VS Code without needing to open your browser.

Download Firefox Extension

Download VScode Extension

I’m not the creator of this extension, just someone who found it useful and wanted to share my experience. If you haven’t tried it yet, give it a shot and see if it makes your workflow smoother!

  • Vote: I like it
  • -4
  • Vote: I do not like it

»
5 hours ago, # |
  Vote: I like it +2 Vote: I do not like it

Everything works fine but when i try to use submit button it doesnt work I need to manually on/off the extension for submission. Does it happen to everyone??

  • »
    »
    3 hours ago, # ^ |
      Vote: I like it +2 Vote: I do not like it

    as of now the submit button glitches on Chrome

    You can try to reinstall the extension CPH submit (works for some users)

    Regardless Submit button works perfectly for Firefox users.

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

      CR7_Clutch You’re right!

  • »
    »
    15 minutes ago, # ^ |
    Rev. 2   Vote: I like it +1 Vote: I do not like it

    light32 The Chrome extension usually doesn't work, you can try it in Firefox. Also, please note that it doesn't work on private groups, but it works on Codeforces global contests and Problemset problems.