generated from NJUPTAAA/NOJ_Extension_Babel_Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/NJUPTAAA/NOJ_Extension_Co…
…deForces_Gym into master
- Loading branch information
Showing
1 changed file
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,44 @@ | ||
# NOJ Extension Babel Template | ||
# NOJ_Extension_Codeforces_Gym | ||
Codeforces Gym interface for NOJ | ||
|
||
CodeForces Gym Interface for NOJ | ||
# Configuration | ||
|
||
Judge Agent should be a valid CodeForces account. | ||
|
||
We highly recommend **5~10 Judge Agents** enabled for CodeForces Gym NOJ Babel Extension. | ||
|
||
Set username the handle and password the password from CodeForces. | ||
|
||
**Setting email as handle will break some features like `babel:judge`.** | ||
|
||
# Usage | ||
|
||
Require CodeForces: | ||
|
||
```bash | ||
php artisan babel:require codeforces | ||
``` | ||
|
||
Update CodeForces: | ||
|
||
```bash | ||
php artisan babel:update codeforces | ||
``` | ||
|
||
Install CodeForces: | ||
|
||
```bash | ||
php artisan babel:install codeforces | ||
``` | ||
|
||
Crawl CodeForces: | ||
|
||
```bash | ||
php artisan babel:crawl codeforces | ||
``` | ||
|
||
# FAQs | ||
|
||
**Q:** Can I use the same agent from my codeforces extension? | ||
|
||
**A:** You **CAN**, but you **shouldn't**. Because CodeForces has rate limit for accounts, having 2 separated extension sharing the same rate limit pool is not best practise for maintenance. For having different sets of judge agents for CodeForces and CodeForces Gym, you can controll them separately. But if you want to set them the same, it is totally fine and workable. |