Skip to content

An experimental plugin for Neovim to automate the typical tasks in competitive programming

License

Notifications You must be signed in to change notification settings

utahta/procon.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

procon.nvim

This is an experimental plugin for Neovim to automate the typical tasks in competitive programming.

procon_nvim

Supported websites are

Supported languages are

  • C++14/gcc
  • C++17/gcc

Installing

You'll need to install Go.

vim-plug
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.
  2. Write the code.
  3. 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.
  4. If you are confident that you'll get the AC, enter the :ProconSubmit to submit your code.

About

An experimental plugin for Neovim to automate the typical tasks in competitive programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published