Comments (2)
I discovered this plugin yesterday and I'm amazed at the level of customization and documentation.
Thanks!
-> testcases | -> Testcase files (input & output)
Have you considered using single file instead of a folder?
Anyway the config you're looking for is the following:
testcases_directory = 'testcases',
compile_directory = 'bin',
running_directory = 'bin',
compile_command = {
c = { exec = 'gcc', args = { '$(FABSPATH)', '-o', '$(FNOEXT)' } },
cpp = { exec = 'g++', args = { '$(FABSPATH)', '-o', '$(FNOEXT)' } },
},
Please mind that compile_command
requires two argument for each language, exec and args, otherwise unexpected errors like this could happen.
from competitest.nvim.
Yes, the compile command needed args which I didn't provide. Thank you!!!
from competitest.nvim.
Related Issues (20)
- unable to recieve test case HOT 1
- unable to recieve test case from CodeforcesContestHelper HOT 1
- Commands Are Not Found!!! HOT 6
- Running :CompetiTest commands throw `trailing data in msgpack string` error HOT 2
- Whitespaces not compiled correctly. HOT 3
- Status Line Integration HOT 2
- Template file is not used when received problems path is set to a function HOT 5
- CompetiTest receive only gets 1 testcase. HOT 1
- Run "require('competitest').setup() -- to use default configuration" HOT 1
- Why my `template_file` doesn't work when receive a contest ? HOT 2
- [Feature Request] read all testcases in the testcase directory HOT 1
- Submitting solution to the respective competitive programming platform HOT 1
- Some idea concerning new features HOT 4
- Space in file name when receiving problem HOT 1
- Receive problems confusion
- Feature request: allow user to choose whether to create a new source file or to just stay in current source file.
- Issue with nui.nvim when recieving contest problems
- When there exists another solution file created before, the default behavior should not be 'overwrite the old file' but 'keep the old file'
- Uncorrectly parsing problems containing slashes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from competitest.nvim.