-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe how samples are shown in statement #265
Comments
Another complex aspect of this that came up at breakfast: what files are included in the downloadable sample data? For instance, for interactive problems with an |
Another way of showing interaction is dumping a text file that is both the input and output.
which looks weird when you separate input and output streams for display, because the newline does not appear in the output stream, resulting in:
as input and
as output. |
@Tagl Would this not work with indicators of direction for an interaction:
|
It kind of works, but it is not what the person will see running it on their own terminal. |
I think that we should specify only the most common cases, and leave anything else to the author to explicity write in the problem statement themselves. So the common cases I think we should handle:
Maybe add a command to insert the contents of |
We say that the sample data should be appended to the problem statement, but we don't explain what that means.
The standard case is pretty obvious:
testcase.in
andtestcase.ans
But there are so many special cases:
testcase.interaction
it should be shown, andtestcase.in
andtestcase.ans
should not.testcase.out
it should be shown instead oftestcase.ans
(iftestcase.ans
should be shown).testcase.args
, these should be shown as well.testcase.files
, these should be shown as well.The text was updated successfully, but these errors were encountered: