Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.03 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.03 KB

IEEExtreme14

Ranked 6th in Canada and TOP 200 worldwide.

Some solutions may not be complete.

A very basic custom test suite for competitive programming.

TLDR: Execute python driver.py ProblemA to test the solution to ProblemA against all the test cases.

Some instructions.

For writing the solution:

  • (Optional): Source into venv so numpy and scipy are accessible.
  • Copy template.py into /solutions and rename it.
  • Filename should be one-word.
    1. Example: ProblemA.py
  • This one's important: Write the solution in the solve() method inside problemA.py.
  • Make sure the drivers return the result in ProblemA.py.

For testing the solution:

  • Fill in the input for test cases 1, 2, ... by creating ProblemA1.in, ProblemA2.in, ... inside data/input.
  • Fill in the expected output for test cases 1, 2, ... by creating ProblemA1.out, ProblemA2.out, ... inside data/output.
  • To execute all the tests, simply execute python driver.py ProblemA in the shell.