Download the PHP package sycu/task-solver without Composer
On this page you can find all versions of the php package sycu/task-solver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package task-solver
Task Solver
PHP Framework for competitive programming
This is an app skeleton for task solver. If you want to use it as a library, check sycu/task-solver-core repository.
Setup
Configuration
Modify config.php to your needs.
Run tests and get solutions
You can filter tasks by providing [FILTER] argument (regexp)
Options:
- solutions - skip tests, just calculate and return solutions. For now only works after FILTER argument, but you can pass an empty string for workaround.
Examples:
Example output:
Generate new task
It will create task data in tasks/ directory, which you should fill out. Actual code template will be located in src/Tasks/
Examples:
Files to fill (assuming Day12A is a task key):
File | Description | Required |
---|---|---|
src/Tasks/Day12A.php | Your code for the task. Just implement "solve" method for given array of input lines. | Yes |
tasks/Day12A/description.txt | Task description. It is not used anywhere, just for convenience. | No |
tasks/Day12A/input.txt | Input for the actual problem. | Yes |
tasks/Day12A/output.txt | Working solution, that you have already submitted. It is used to validate your code during refactoring. | No |
tasks/Day12A/test1.input.txt | Input for a test case. You can have multiple test cases, just add test2.input.txt and so on. | No |
tasks/Day12A/test1.output.txt | Output for a test case. Each test input should have a matching output file to be executed. | No |
All versions of task-solver with dependencies
PHP Build Version
Package Version
The package sycu/task-solver contains the following files
Loading the files please wait ....