Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/utahta/procon.nvim
An experimental plugin for Neovim to automate the typical tasks in competitive programming
https://github.com/utahta/procon.nvim
atcoder neovim-plugin
Last synced: 3 days ago
JSON representation
An experimental plugin for Neovim to automate the typical tasks in competitive programming
- Host: GitHub
- URL: https://github.com/utahta/procon.nvim
- Owner: utahta
- License: mit
- Created: 2020-05-06T04:40:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T07:40:18.000Z (over 4 years ago)
- Last Synced: 2023-03-10T22:12:36.171Z (almost 2 years ago)
- Topics: atcoder, neovim-plugin
- Language: Go
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# procon.nvim
This is an experimental plugin for Neovim to automate the typical tasks in competitive programming.
![procon_nvim](https://user-images.githubusercontent.com/97572/81148811-f0cd6080-8fb7-11ea-88ed-50404e628d54.gif)
## Supported websites are
- [AtCoder](https://atcoder.jp/)## Supported languages are
- C++14/gcc
- C++17/gcc## Installing
You'll need to install [Go](https://golang.org/dl/).
##### vim-plug
```viml
Plug 'utahta/procon.nvim', {'do': 'make'}
```## How to use
1. Enter the `:ProconSet` command to set up the site, contest, etc. that you challenge.
Then the plugin will create a new file with an appropriate name in the current directory.
If there is already a file with the same name, you can enter any name you like.
1. Write the code.
1. Enter the `:ProconCheck` command to make sure your program outputs the correct answer.
If your program outputs the correct answer, you'll get the AC. And of course, if it outputs the wrong answer, you'll get the WA.
Note: If the task accepts multiple answers, you may get the WA even if your program outputs the correct answer, because the plugin only compares it to the sample cases.
1. If you are confident that you'll get the AC, enter the `:ProconSubmit` to submit your code.