Блог пользователя David_Ezzat

Автор David_Ezzat, 7 часов назад, По-английски

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!

  • Проголосовать: нравится
  • -2
  • Проголосовать: не нравится

»
5 часов назад, # |
  Проголосовать: нравится +2 Проголосовать: не нравится

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 часа назад, # ^ |
      Проголосовать: нравится +2 Проголосовать: не нравится

    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.

    • »
      »
      »
      6 минут назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      CR7_Clutch You’re right!

  • »
    »
    10 минут назад, # ^ |
    Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

    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.