Skip to content

Commit

Permalink
Docs: standardize 'alt_solution' -> 'solution_alt' (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed May 22, 2017
1 parent dbb574e commit 8bd1daf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ You should get the following output:

::

Grading...
Local grading with solution command: './solution_alt'...

[ SAMPLE TEST CASES ]
sum_sample_1: Accepted
Expand Down
8 changes: 4 additions & 4 deletions docs/topic-guides/grading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ Then, you can "grade" a solution, by executing:

where ``<solution-command>`` is the command for executing the solution. If it is omitted, the default is ``./solution``.

For example, suppose you have written a problem package for a problem. Your friend also has written an alternate solution to the problem, and he wants to check whether his solution agrees with yours. Let's assume that his solution file is ``alt_solution.cpp``. Compile it into ``alt_solution``, place it in the problem package, and then run
For example, suppose you have written a problem package for a problem. Your friend also has written an alternate solution to the problem, and he wants to check whether his solution agrees with yours. Let's assume that his solution file is ``solution_alt.cpp``. Compile it into ``solution_alt``, place it in the problem package, and then run

::

./runner grade --solution=./alt_solution
./runner grade --solution=./solution_alt

The verdict of each test case will be shown. The verdict will be one of the following:

Expand All @@ -48,7 +48,7 @@ Here is a sample output of a local grading for problems with subtasks.

.. sourcecode:: bash

Local grading with solution command: './alt_solution'...
Local grading with solution command: './solution_alt'...

[ SAMPLE TEST CASES ]
k-product_sample_1: Accepted
Expand Down Expand Up @@ -90,7 +90,7 @@ and here is for problems without subtasks

.. sourcecode:: bash

Local grading with solution command: './alt_solution'...
Local grading with solution command: './solution_alt'...

[ SAMPLE TEST CASES ]
k-product_sample_1: Accepted
Expand Down

0 comments on commit 8bd1daf

Please sign in to comment.