stderr
?A: You can output whatever you want on stderr
, we will
ignore it.
A: We will only run your program with one command-line argument,
the time limit. But you may want to accept more (optional) arguments
for your own use, such as -debug
, -verbose
,
--version
, or whatever; this is allowed even if we won't
be using them.
<B><I></B></I>
considered
"properly nested" ?A: No. A parenthesis was added to the spec to make this clear.
A: True. We did it on purpose. Not everyone (yet) has an XML parser in a drawer just waiting to be used, and SML/NG is very easy to parse anyway.
A: You can assume that the speed of writing to stdout
is at least 1 MB/s. You cannot assume that stdout
is a
regular file (i.e. seek()
may or may not work).
A: The Judges have not sought legal advice. Therefore, although we believe the following policy to be reasonable, it should not be considered binding. You submit your source code at your own risk.
You must submit source code for your entry to be considered. You give us rights to look at your source code, and to display all or parts of it for the edification of ICFP attendees, and to publish it on the Web along with the contest results. However, you retain all other rights; in particular, we do not have the right to use your source code to build products, etc.
Also, you must of course have the right to give us the source code you send to us. It is your responsibility not to send us proprietary source code.
<
and > ?A: The specification doesn't say anything about entities.
<
and >
are given as examples
of regular text that can occur in a document. You cannot assume that
a &
character will have a matching semicolon after
it.
A: If you still have any running process after the time limit is up, we'll consider that your program has exceeded the time limit.
/tmp
?A: Sure, that's what /tmp
is for. But do not assume
that the files will be preserved between runs of your program.
A: The W4C is a figment of our imagination.
What is the size (color) of characters that are not in the range of any size (color) tags ?
A: As stated in the spec, your program cannot make any assumption about the size (color) of these characters, so it should avoid enclosing them in any size (color) tags.
buildme
fails, will you run the
runme
anyway ?My runme
script falls back to a provided binary even
if the locally built binary is missing.
A: The testing process is not entirely automated. You should put such
special instructions in the README
file, which we will
read.
A: The judging criteria are not firmly determined yet, but a program that consistently beats all others for size would be the winner, even if it is much slower than the competition.
A: Please send your questions and remarks to judges@pauillac.inria.fr.
buildme
script, will you be in
the root directory of the submission ?A: Yes, we will run buildme
as
./buildme
. Same for runme
.
A: The document will be no bigger than 5 megabytes; the machine has 256 megabytes of RAM and almost a gigabyte of swap space. If your data structures are not too wasteful, it should fit.
A: The specification says "if the previous output character was a SPC decorated ..."; this condition should be understood as false if there was no previous character.
A: Nothing. The bug is in HTML forms: they ignore leading and trailing space characters in text fields. If your documents start or end with whitespace, it is better to enclose the documents in double quotes before you submit them to the validator.
A: Section 2.2 of the spec is slightly ambiguous on this subject, but the more formal specification of section 3 is quite clear: whitespace characters are not collapsed (i.e. they generate separate space characters in the output) if they have different sizes, if (at least) one of them is in TT, if they have different levels of underline, or if they have nonzero underline and different colors. So the answer to the question is: there will be two adjacent spaces, one of each color.
A: We will only test the programs with correct documents, so "garbage in, garbage out" is perfectly acceptable.
A: Check out the news page.
A: No. We will not run your program on anything bigger than 5 megabytes (i.e. 5*2^20 bytes).
A: in addition to the examples given in the task spec, here is a sample SML/NG file.
A: The specified time is for doing all the work, including input and output. It would be easy to output your first character before even looking at the input.
Is A =
"<U><U><U><U>foo</U>bar</U></U></U>
"
equivalent to B =
"<U><U><U>foobar</U></U></U>
"
or to C =
"<U><U><U>foo</U>bar</U></U>
"
?
A: A is of course equivalent to B, as section 3 of the spec clearly implies. You can use the validator page to check this.
A: Check the machine configuration. If your favorite language is not there, and there's a RPM that works on Red Hat 7.1, just drop us a note with the URL of the RPM and we'll try to install it on the machine. In any case, your best bet is to submit a self-contained program (maybe including the run-time support files for your language).
A: On September 4th, at the ICFP conference and shortly thereafter on this Web site.
Programming should be about correctness and elegance, not about writing something in a hurry. Correctness is more and more important, for example in life-support systems and drive-by-wire automobiles, where there is no room for error.
A: There is no room for error in this contest either. The first thing the judges will do is test the programs and eliminate any entry that does not give correct results on all tests. Besides, the task will be simple enough that 3 days will be enough time to write, debug, and do some tweaking on your program, and get a normal amount of sleep. It was already the case for the previous years, and we see no reason to change.
A: There is no special prize set aside for the lightning division, but lightning entries will be particularly worthy of consideration for the special prize. And of course it is possible for a lightning entry to win one of the first two prizes.
A: Yes.
A: Yes, as long as we can run your program on our machine. That's why prefer submissions made as stand-alone programs.
A: No message has been sent to the list yet. The list was set up only for sending the task description to the participants.
A: Participation in this contest is free. There is no registration fee.
A: Yes, it is correct. The only thing you need to participate is to submit an entry before the deadline.
A: No. Only printable ASCII characters and SPC, TAB, CR, LF can appear in a document.