Codeflows.io 2019 programming competition challenges.
- Weird Faculty, see specs
- Arbitrary Shopping, see specs
- Number Game, see specs
- Keypad, see specs
- Long Break, see specs
- Turnstile, see specs
Results: all challenges all green!
- Least Active Intern, see specs
- Hashing the String, see specs
- Lost Signal, see specs
- Minimum Inversion, see specs
- Distinct Walk, see specs
Results:
- 10/10 green
- 1/8 green, 7 red due to wrong answer (WTF?!)
- 1/11 green, 10 red due to timeout
- 4/41 green, 37 red due to wrong answer
- 11/23 green, 12 red due to timeout
Later fixes:
2. 1/8 green, 7 red due to wrong answer (WTF?!) 8/8 green (fuck me right?)
Most challenges come with some test input & output, and can be tested with
cat test/round-X/challenge/input00X.txt | php src/round-X/challenge.php | diff -u --color -w test/round-X/challenge/output00X.txt -
,
which returns the diff from the expected output, if any.
- automate running the full "test suite" for any challenge, via shell script
- enforce resource limits (memory and execution time)
- add optional resource usage to output, enabled via env variable