Cheatsheet
Task creation
Create a task skeleton:
Task testing
Test the task:
Test only specific solutions:
Test only generator:
Testing with flags
Show file contents on failure:
Override time limit for solutions to 3 seconds:
Test all inputs (even when not necessary):
Be verbose:
Do final pre-production check. Test all inputs, be verbose and interpret warnings as failures:
Clean
Clean pisek cache and created files (executables in build/
and test data in tests/
):
Visualization
Visualize all solutions and their closeness to time limit. Calculate valid time limits:
Configs
Update config to newest version: