GNU General Public License v3.0

项目介绍

agrawal-d/cph 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 GNU General Public License v3.0 许可证,目前获得 1.2k 个 Star、237 次 Fork。

仓库全名
agrawal-d/cph
开源许可证
GNU General Public License v3.0
Star 数
1.2k
Fork 数
237
未关闭 Issue
10

README 摘要

Competitive Programming Helper (cph) Quickly compile, run and judge competitive programming problems in VS Code. Automatically download testcases , or write & test your own problems. Once you are done, easily submit your solutions directly with the click of a button! Cph supports a large number of popular platforms like Codeforces, Codechef, TopCoder etc. with the help of competitive companion browser extension…

完整内容见 GitHub 原始 README 或本页 。

常见问题

cph 用什么语言开发?

主要使用 TypeScript 编写,采用 GNU General Public License v3.0 许可证,目前有 1.2k 个 Star。

cph 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 cph 的源码?

可以直接克隆仓库:git clone https://github.com/agrawal-d/cph.git,默认分支为 main;安装与运行步骤见仓库 README。

cph 最近还在维护吗?

仓库最近一次更新为 3 周前,当前有 10 个未关闭 Issue;Star 数为 1.2k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Makes judging, compiling, and downloading problems for competitive programming easy.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1646
价值分
770
活跃状态
活跃

语言占比

CSS
HTML
JavaScript
Shell
TypeScript

Release

README

Competitive Programming Helper (cph)

Downloads

Quickly compile, run and judge competitive programming problems in VS Code. Automatically download testcases , or write & test your own problems. Once you are done, easily submit your solutions directly with the click of a button!

Cph supports a large number of popular platforms like Codeforces, Codechef, TopCoder etc. with the help of competitive companion browser extension

Screenshot

Quick start

  1. Install cph in VS Code and open any folder. (Alternatively, the latest .vsix is available for manual installation at the latest-vsix release.)
  2. Install competitive companion in your browser.
  3. Use Companion by pressing the green plus (+) circle from the browser toolbar when visiting any problem page.
  4. The file opens in VS Code with testcases preloaded. Press Ctrl+Alt+B to run them.
  • (Optional) Install the cph-submit browser extension to enable submitting directly on CodeForces.
  • (Optional) Install submit client and config file from the Kattis help page after logging in.

You can also use this extension locally, just open any supported file and press ‘Run Testcases’ (or Ctrl+Alt+B) to manually enter testcases.

See detailed user guide

Features

  • Automatic compilation with display for compilation errors.
  • Intelligent judge with support for signals, timeouts and runtime errors.
  • Works with Competitive Companion.
  • Codeforces auto-submit integration.
  • Kattis auto-submit integration.
  • Custom Checker (Special Judge): Use Python scripts to evaluate problems with multiple valid outputs or specific precision requirements.
  • Works locally for your own problems.
  • Support for several languages.

Supported Languages

  • C++
  • C
  • C#
  • Rust
  • Go
  • Haskell
  • Python
  • Ruby
  • Java
  • Kotlin
  • JavaScript (Node.js)
  • Cangjie

Interested in adding support for another language? Check out the developer guide.

Supported Display Languages

  • English
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Korean
  • Japanese

Interested in adding a new translation? See the translation guide.

Contributing

You can contribute to this extension in many ways:

  • File bug reports by creating issues.
  • Develop this extension further - see developer guide.
  • Spreading the word about this extension.

Before creating a Pull Request, please create an issue to discuss the approach. It makes reviewing and accepting the PR much easier.

Telemetry

To show live user count, the extension sends a request to the server every few seconds. No information is sent with the request.

License

Copyright © 2019 - Present Divyanshu Agrawal

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

评论

暂无评论