|
6 年 前 | |
---|---|---|
.vscode | 6 年 前 | |
images | 6 年 前 | |
src | 6 年 前 | |
types | 6 年 前 | |
.gitattributes | 6 年 前 | |
.gitignore | 6 年 前 | |
.vscodeignore | 6 年 前 | |
CHANGELOG.md | 6 年 前 | |
LICENSE | 6 年 前 | |
README.md | 6 年 前 | |
package-lock.json | 6 年 前 | |
package.json | 6 年 前 | |
todo.md | 6 年 前 | |
tsconfig.json | 6 年 前 | |
tslint.json | 6 年 前 | |
vsc-extension-quickstart.md | 6 年 前 |
acmX is tool that empower contestants to solve competitive programming problems easily.
acmX have been designed to run automatically boilerplate actions I repeat often in competitive programming. This is the expected pipeline to interact with it.
Create a contest calling New Contest
or maybe a single problem calling New Problem
. Testcases are downloaded automatically :)
Start coding awesome solution inside file sol.cpp
. Right now solutions are only available in C++.
After you finish the code call Run
and automatically your program will be compiled and run against every testcases. If the solutions seems to be ok, it will be reported otherwise you will see failing testcase in a cool layout. You can always go back to original layout calling View: Code
.
Add more testcases than provided in statement using Add Test Case
, or modify and see existing testcases by calling Open Test Case
.
If your solution keep failing you can stress it using a generator and a brute solution. Call Upgrage
to create both generator (attic/gen.py
) and correct (brute.cpp
) programs. Right now generator must be written in python, and correct program must be written in C++. After both codes are ready just call Stress
and your original code will be tested on random test cases from generator against correct solution.
The environment structure is the following:
contest/
problemA/
sol.cpp
brute.cpp
attic/
gen.py
...
testcases/
1.in
1.out
1.real
...
problemB/...
problemC/...
problemD/...
problemE/...
Certainly acmX can be (and hopefully will be) extended so that it fits everyones pipeline. If acmX almost fit yours, feel free to improve it and make a PR! I'll be happy to hear from you and give you support.
Create a file with your template. In settings change acmx.configuration.templatePath
to the path of your templates file.
Call this commands from the command pallete (Ctrl + Shift + P
).
Stress
sol.cpp
.