aboutsummaryrefslogtreecommitdiff
path: root/doc/html
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2013-07-02 05:46:45 +0000
committercassio <cassiopc@gmail.com>2013-07-02 05:46:45 +0000
commitbe2491b093b1f0ca430bede679ecbb670041e483 (patch)
treefe2da63d1811cb93e4352a43a113ace37b9f6017 /doc/html
parenta9aa438ea0558eb0044cf1e54a9190ddb41b65e5 (diff)
downloadboca-be2491b093b1f0ca430bede679ecbb670041e483.tar.gz
boca-be2491b093b1f0ca430bede679ecbb670041e483.zip
restructuring of boca's git
Diffstat (limited to 'doc/html')
-rw-r--r--doc/html/.htaccess1
-rw-r--r--doc/html/manualjudge.en.html203
-rw-r--r--doc/html/manualjudge.pt_br.html219
-rw-r--r--doc/html/manualteam.en.html198
-rw-r--r--doc/html/manualteam.pt_br.html227
5 files changed, 848 insertions, 0 deletions
diff --git a/doc/html/.htaccess b/doc/html/.htaccess
new file mode 100644
index 0000000..605d2f4
--- /dev/null
+++ b/doc/html/.htaccess
@@ -0,0 +1 @@
+Allow from all
diff --git a/doc/html/manualjudge.en.html b/doc/html/manualjudge.en.html
new file mode 100644
index 0000000..a7f8a0e
--- /dev/null
+++ b/doc/html/manualjudge.en.html
@@ -0,0 +1,203 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head>
+
+<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
+<title>BOCA Manual for the judges</title>
+</head>
+<body bgcolor="white" link="blue" vlink="blue">
+<font size="5"><b>BOCA Online Contest Administrator</b></font>
+<p><b>BOCA Reference Manual for judges<font size="5"> - </font>
+version October/2011 (BOCA 1.4.1+)</b>
+</p>
+
+<p><font size="1">Copyright (c) 2006-2011 Cassio P. de Campos (cassio@ime.usp.br).<br>
+Permission is granted to copy, distribute and/or modify this document under
+the terms of the GNU Free Documentation License, Version 1.2 or any later
+version published by the Free Software Foundation; with no Invariant Sections,
+no Front-Cover Texts, and no Back-Cover Texts. A copy of the license may be
+found in <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a></font></p>
+
+<p>BOCA is a software created to control a contest with the <i>ACM International Collegiate
+Programming Contest</i> rules. It has been developed in PHP and the interaction between judges
+and the system is done through a <i>web browser</i>. In the following we describe
+the set of available features for a judge in the system.</p>
+
+<p>It is assumed here that the judge has already logged in the system with their
+<i>username</i> and <i>password</i> in a windows of their browser. Tthe <i>URL</i>
+to access BOCA will depend on the setup of your server. Usually this URL ends with
+<i>/boca/</i>, where a simple authentication form will show up.
+
+<p>
+After a successful login, the web page contains the judge identification in the upper-left
+corner. In the upper-right corner, the clock of the contest is shown, indicating if it has
+started or not, if it has already ended, stopped, or in progress, in which case the number of
+minutes to go are displayed. Below that, there is a set of options in a vertical menu, namely
+<i>Runs, Score, Clarifications, History, As Team, Options e Logout.</i>
+There is still an extra option named <i>Chief</i> which only appear to the chief judge, who
+has to be appointed in the admin's interface (with in the <i>Site</i> options).
+</p>
+
+<p><font size="4"><b>Runs</b></font></p>
+<p> In this area, the judge might visualize the runs that are still to be judged and shall be
+taken care of. In order to process a run, the judge has to click in its number (eventually a
+message might pop up here indicating the run was already taken; this happens if another judge
+got the run before you). After clicking on the run to judge, a new set of data appear about it:
+
+<ol>
+<li><b>Site</b>: site number of the run.</li>
+<li><b>Number</b>: run number.</li>
+<li><b>Time</b>: minutes from the start of the competition until this submission.</li>
+<li><b>Problem</b> <i>X</i>: <i>X</i> is the name of problem. There are links
+to download the input and output files (click on the names), or simply to visualize them in the browser (click on view).
+These links are mostly used when the <i>autojudge</i> is turned off or is not running properly for a given problem/language.
+Instead, if the <i>autojudge</i> feature is working correctly, then the judge can directly to go the links in the bottom part of
+the page in order to see the expected output together with the output generated by the team.
+</li>
+<li><b>Language</b> <i>Y</i>: <i>Y</i> is the language chosen by the team. The scripts that are used to
+compile and execute the submission with this language are available through links.
+When using the <i>autojudge</i>, note that is not necessary to use this links, because the results are
+already shown in the bottom of the page.
+</li>
+<li><b>Source code</b>: here it is possible to <i>view</i> or download the submitted file. An important
+task is to check if the name and extension of this file are correct with respect to the chosen problem, language,
+and the specification in the booklet of problem descriptions.
+</li>
+<li><b>Answer</b>: the judge has to choose, among the options available in the system (which were configured by the admin),
+the correct answer to be sent to the team.
+</li>
+<li><b>Autojudging answer</b>: here it is presented the suggestion from the <i>autojudge</i> about this submission.
+Usually the <i>autojudge</i> properly identify the answer that has to be sent to the team. However, it may
+fail to do so. For example, the <i>autojudge</i> might indicate a <b>wrong answer</b>, because the
+<i>diff</i> procedure identified the output and expected output to be different, while the only mistake
+happened in the punctuation/accent of a letter (this is usually a case of <b>presentation error</b>, but
+may vary according to the contest). Other issues might happen, and the role of the judge is to check everything
+for eventual mistakes.
+</li>
+<li><b>Autojudged by</b>: indicates the computer that has acts as <i>autojudge</i>. Usually this is not
+much relevant for judging a submission.
+</li>
+<li><b>Standard output</b>: links for downloading and visualizing the output generated by the team's code are
+available. This is the output generated by the team, which is to be compared with the expected output of
+the given problem. It might also be possible to see some error, in case it happened.
+</li>
+<li><b>Standard error</b>: links for downloading and visualizing the standard error output generated by the team's code.
+When a error happens (including compilation or runtime errors, but not restricted to them), this is the most probable file to identify it.
+The judge must always check the content of this file. In the end of it, the judge also finds the output of the <i>diff</i> command
+that has compared the team's output and the expected one (to facilitate the visual inspection).
+</li>
+</ol>
+
+<p>By pressing the button named <b>Judge</b>, the judge submits their veredict about the <i>run</i>, and then
+has no access to the this <i>run</i> anymore. It is also possible to give up judging the run by clicking
+on <b>Cancel</b>, which will send the run back to the pool (and it will be eventually judged by another judge).
+</p>
+
+<p>In the tab <i>Runs</i>, the judge can see all the submissions that are yet to be judged. The colors
+represent their status, meaning that they are already been judged by others, or that they are waiting
+you to judge them (red color). You must act with respect to those in red, as only you can judge them (or
+send them back to the pool).
+</p>
+
+<p></p>
+<p><font size="4"><b>Chief</b></font></p>
+<p>
+Besides acting as a normal judge, there is a designated judge with access to the tab <i>Chief</i>. This tab
+is used for the chief judge to resolve disputes regarding submissions that received different answers by different
+judges (they are shown in red). The prodecure is equivalent to that of a normal judge, but the decision made in the tab of the chief is
+final. The idea is to have the chief judge acting as a tie-breaker between the distinct answers that were assigned to
+a <i>run</i>. Hence, if the chief judge is acting as a normal judge (and they may do so), it is recommended to use
+the tab <i>Runs</i> instead, leaving the tab <i>Chief</i> only for resolving issues. (In the very special case where there
+is a single judge in the competition, then this judge has to be designated as chief and shall use the tab <i>Chief</i>
+to judge the runs, otherwise they will never receive the judgement of another judge and thus will not be sent to teams.)
+In this same tab, the chief judge is able to ask the <i>autojudge</i> to be re-executed for some submissions (selected by
+the boxes besides each of them) or to completely re-open the submission for judging again, which implies in a new round
+of autojudging and judging by actual judges. The <b>team does not become aware</b> of this rejudging unless the new final
+result for the run has to be changed (with respect to the first round of judgement).
+</p>
+<p></p>
+
+<p></p>
+<p><font size="4"><b>Score</b></font></p>
+<p>In this tab the judge can see the scoreboard of the competition. It has to be noted that the scoreboard available
+for the judges is complete and not subject to the freezing of the final part of the contest. Hence, the judge is
+expected to keep the scoreboard in secret. In case the scoreboard is consolidated among different sites, the final part
+of the other sites is not shown (*this fact is for technical reasons, to be discussed later*).
+</p>
+
+<p><font size="4"><b>Clarifications</b></font></p>
+<p>This tab allows the judge to answer <i>clarifications</i> submitted by team regarding
+a specific problem or any general aspect of the contest.
+In order to reply to a <i>clarification</i>, the judge must first <b>click on the clarification number</b>.
+The box available in the bottom part is meant for creating a new clarification, as judges are allowed to do
+so. The new clarification will only be meaningful if the judge that gets it to answer selected the reply to all
+option (explained in the next paragraph). This is useful for the judges to send a general information to the teams.
+</p>
+
+<p>After clicking on the clarification number, the judge sees information about it, such as
+site number, clarification number, time in minutes from the start of the competition, and the
+problem to which the clarification regards. There are two text boxes: one with the question (on top)
+and one to be filled with the reply. Finally, there is a selection box to indicate if the reply
+should be sent to all the teams or just the the team that posted the question.
+</p>
+
+<p>The system also allows the judge to select the <u><i>No response</i></u> button. In general
+this is used for questions that are already stated in the booklet of problem descriptions, or
+that has already been replied, or even that should not be answered at all (for example, about
+the timelimit of a problem, or about some sensitive information of the input/output).
+</p>
+
+<p><font size="4"><b>History</b></font></p>
+<p>This tab shows the history of <i>Clarifications</i> and
+<i>Runs</i> that were processed by the judge so far.
+</p>
+
+<p><font size="4"><b>Options</b></font></p>
+<p>This tab shows the information of the judge, such as <i>Username,
+User</i> <i>full name </i>,<i> User description</i>. It is possible
+for the judge to update their password, although this is not necessary neither
+recommended. Instead it is recommended that the admin who created the users already
+specifies secret and safe password for all users.
+</p>
+<br>
+
+</p>
+<p><font size="4"><i><b>Logout</b></i></font></p>
+<p>Button to log out from the judge interface.</p>
+
+<p><font size="4"><b>Important hints for judges</b></font></p>
+<p> While judging a submission, it is necessary to be very careful. Even if it is possible
+to alter the judgement of a run afterwards, this has to be avoided as much as possible, because
+the team might suffer an undesired situation.
+</p>
+<p>Every time a judge is about to answer a problem for its first time (that is, the problem has not
+been submitted before, or has not received yet any YESes), when possible it is interesting to have other judges
+also checking the submission, which should be analyzed with even greater care. Sometimes this is the
+moment when an unfortunate issue with the <i>autojudge</i> or with inputs or outputs is discovered
+(obviously nobody wants it to happen, but it might).
+</p>
+<p>In order to reply to <i>clarifications</i>, it is important that the judge has read and understood
+the question and the problem to which it concerns. When possible, it is interesting to have the opinion
+of the person or group that created the problem description, its input and output. After that,
+it is necessary to think if such reply has to be sent only
+to this user or to all teams in the contest. If it is a relevant issue and the contest is also offered in
+other sites, then the judge shall find a way to contact other sites about the clarification.
+Some examples of clarifications that are not disclosured (that is, are replied with a <i>no response</i>)
+are
+<i>What is the timelimit for this problem?</i>,
+<i>Given this input, which is the correct output?</i>,
+questions that are already explained in the problem description,
+etc.
+In case the judge is not certain about it, they must contact the chief judge of the site or the
+chief judge of the contest for help.
+</p>
+
+<p><font size="4"><b>About BOCA and this document</b></font></p>
+<p>BOCA System and this document have been created by Cassio Polpo de Campos and can be found at
+<a href="http://www.ime.usp.br/~cassio/boca/">http://www.ime.usp.br/~cassio/boca/</a>.</p>
+
+<hr>
+<p>
+<a href="http://validator.w3.org/check?uri=referer">
+<img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" border="0" height="31" width="88"></a>
+
+</p></body></html>
diff --git a/doc/html/manualjudge.pt_br.html b/doc/html/manualjudge.pt_br.html
new file mode 100644
index 0000000..eabeecc
--- /dev/null
+++ b/doc/html/manualjudge.pt_br.html
@@ -0,0 +1,219 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head>
+
+<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
+<title>Manual do BOCA para as equipes</title>
+</head>
+<body bgcolor="white" link="blue" vlink="blue">
+<font size="5"><b>BOCA Online Contest Administrator - Sistema de Submiss&atilde;o</b></font>
+<p><b>Manual de Refer&ecirc;ncia para os ju&iacute;zes<font size="5"> - </font>
+vers&atilde;o setembro/2010 (para o BOCA vers&atilde;o 1.4.x)</b>
+</p>
+
+<p><font size="1">Copyright (c) 2006-2010 Cassio P. de Campos (cassio@ime.usp.br).<br>
+Permission is granted to copy, distribute and/or modify this document under
+the terms of the GNU Free Documentation License, Version 1.2 or any later
+version published by the Free Software Foundation; with no Invariant Sections,
+no Front-Cover Texts, and no Back-Cover Texts. A copy of the license may be
+found in <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a></font></p>
+
+<p>O BOCA &eacute; um <i>software</i> criado para controlar uma competi&ccedil;&atilde;o nos moldes
+da Maratona de Programa&ccedil;&atilde;o da SBC. Foi feito em PHP e a intera&ccedil;&atilde;o dos ju&iacute;zes
+com o sistema &eacute; feita usando-se um <i>browser</i>. A seguir descrevemos a
+interface dispon&iacute;vel no BOCA para os ju&iacute;zes e suas principais fun&ccedil;&otilde;es.</p>
+
+<p>Neste texto ser&aacute; assumido que o juiz j&aacute; realizou o seu
+<i>login</i> na m&aacute;quina e abriu uma janela do navegador (leia
+as instru&ccedil;&otilde;es sobre o Maratona Linux ou sobre o sistema que
+estiver sendo utilizado). O BOCA &eacute; acessado atrav&eacute;s de uma
+<i>URL</i> (usualmente a p&aacute;gina se chama
+http://mainserver/boca ou http://bocaserver/boca).
+Ao carregar a p&aacute;gina, o juiz dever&aacute; ver a
+tela de <i>login</i> do BOCA. Basta digitar o <i>login</i> do
+BOCA fornecido ao juiz e a sua senha correspondente.</p>
+
+<p>Ap&oacute;s realizar o <i>login</i> com sucesso, uma p&aacute;gina dever&aacute; ser aberta
+contendo a identifica&ccedil;&atilde;o do juiz no canto superior esquerdo.
+No canto superior
+direito haver&aacute; a informa&ccedil;&atilde;o sobre o estado da competi&ccedil;&atilde;o: ou ainda n&atilde;o
+come&ccedil;ou, ou j&aacute; acabou, ou est&aacute; parada, ou a competi&ccedil;&atilde;o est&aacute; em andamento e a
+quantidade de minutos restantes ser&aacute; mostrada. Mais abaixo dessas primeiras
+linhas estar&atilde;o seis op&ccedil;&otilde;es, que representam a interface propriamente dita do
+BOCA. Estas seis op&ccedil;&otilde;es s&atilde;o: <i>Runs,
+Score, Clarifications, History, Options e Logout.</i>
+Existe ainda uma op&ccedil;&atilde;o extra para o juiz chefe (que deve ser previamente apontado atrav&eacute;s da
+interface do admin no sistema): <i>Chief</i>. Ela n&atilde;o est&aacute; dispon&iacute;vel para os demais ju&iacute;zes.
+</p>
+
+<p><font size="4"><b>Runs</b></font></p>
+<p>Ao entrar nessa op&ccedil;&atilde;o, o juiz poder&aacute; visualizar as submiss&otilde;es que ainda
+n&atilde;o foram corrigidas e devem ser processadas. Para corrigir uma submiss&atilde;o,
+o juiz deve clicar sobre seu n&uacute;mero (como &eacute; feito o tratamento de concorr&ecirc;ncia
+para que dois ou mais ju&iacute;zes n&atilde;o peguem a mesma <i>Run</i>, neste momento o juiz pode
+ser avisado que a <i>Run</i> acaba de ser pega por outro juiz). Ao clicar em uma
+submiss&atilde;o, o juiz ver&aacute; os seguintes campos:
+<ol>
+<li><b>Site</b>: n&uacute;mero do site atual.</li>
+<li><b>Number</b>: n&uacute;mero da <i>Run</i> sendo julgada.</li>
+<li><b>Time</b>: minutos decorridos da competi&ccedil;&atilde;o para esta submiss&atilde;o.</li>
+<li><b>Problem</b> <i>X</i>: <i>X</i> &eacute; o nome do problema. Ao lado, existem
+links para fazer o download (clicando sobre o nome) ou simplesmente visualizar
+os arquivos de entrada e sa&iacute;da (clicando em <i>view</i>). Usando o esquema de
+autojudging, o importante &eacute; ficar atento &agrave; sa&iacute;da esperada, comparando-a com a
+sa&iacute;da que o programa da equipe gerou.</li>
+<li><b>Language</b> <i>Y</i>: <i>Y</i> &eacute; a linguagem escolhida pela equipe. Ao
+lado aparece o script para compila&ccedil;&atilde;o e execu&ccedil;&atilde;o nesta linguagem. Note que,
+utilizando o esquema de autojudging, n&atilde;o &eacute; necess&aacute;rio olhar para esse arquivo.</li>
+<li><b>Source code</b>: Aqui &eacute; poss&iacute;vel visualizar (<i>view</i>) ou fazer o
+download do arquivo submetido. Um ponto importante para o juiz &eacute; verificar se
+o nome e a extens&atilde;o desse arquivo est&atilde;o de acordo com o problema e a linguagem
+escolhidos.</li>
+<li><b>Answer</b>: Neste campo o juiz escolher&aacute; qual a resposta que ser&aacute; enviada
+para a equipe. Para tomar essa decis&atilde;o, ele tem &agrave; disposi&ccedil;&atilde;o os arquivos e bot&otilde;es
+j&aacute; mencionados e tamb&eacute;m, logo abaixo, os dados gerados pelo esquema de autojudging
+(se esse esquema estiver sendo utilizado).</li>
+<li><b>Autojudging answer</b>: Resposta sugerida pelo esquema de autojudging.
+Usualmente o autojudging acerta o que deve ser respondido &agrave;s equipes, mas pode
+falhar. Por exemplo, ele pode dizer que a resposta est&aacute; errada (<b>Incorrect Output</b>),
+pois comparou os arquivos e n&atilde;o eram iguais, mas o &uacute;nico erro do programa da
+equipe foi na digita&ccedil;&atilde;o de um acento em uma palavra (usualmente isso &eacute; simplesmente
+um <b>Output format error</b>). Outros detalhes podem ocorrer, e o juiz deve
+estar atento aos pr&oacute;ximos demais dados fornecidos pelo autojudging.</li>
+<li><b>Autojudged by</b>: indica qual computador fez o autojudging, no
+caso de diversos autojudgings estarem sendo utilizados. Usualmente n&atilde;o essencial
+na corre&ccedil;&atilde;o.</li>
+<li><b>Standard output</b>: links para fazer o download ou visualizar a sa&iacute;da
+padr&atilde;o gerada pelo programa da equipe. Usualmente neste lugar deve estar a
+sa&iacute;da que foi gerada pela equipe e que deve ser comparada com a sa&iacute;da esperada,
+dispon&iacute;vel no item <b>Problem</b>. Caso haja algum problema, eventualmente
+pode ser poss&iacute;vel visualizar o erro aqui.</li>
+<li><b>Standard error</b>: links para fazer o download ou visualizar a sa&iacute;da de
+erro padr&atilde;o gerada pelo programa da equipe. Quando um problema acontece, por
+exemplo um erro em tempo de execu&ccedil;&atilde;o por causa de um acesso ilegal, a informa&ccedil;&atilde;o
+sobre o erro torna-se dispon&iacute;vel nesta sa&iacute;da de erro. Al&eacute;m de sempre
+analisar essa sa&iacute;da, o juiz deve estar atento &agrave; sa&iacute;da padr&atilde;o, pois m&aacute;quinas virtuais
+como da linguagem Java podem escrever os erros na sa&iacute;da padr&atilde;o e/ou na sa&iacute;da
+de erro. Na sa&iacute;da de erro est&aacute; ainda o resultado do diff feito entre o arquivo
+ esperado e o arquivo gerado pelo programa submetido.
+</li>
+</ol>
+
+<p>Utilizando o bot&atilde;o <b>Judge</b> o juiz faz o julgamento da <i>Run</i>, e ap&oacute;s
+isso n&atilde;o tem mais acesso para alterar seu julgamento. &Eacute; poss&iacute;vel ainda devolver
+a <i>Run</i> para o <i>pool</i> de submiss&otilde;es a serem julgadas, utilizando o
+bot&atilde;o <b>Cancel</b>.</p>
+
+<p>Na tela de <i>Runs</i>, o juiz visualiza todas as submiss&otilde;es, mesmo aquelas que
+est&atilde;o sendo julgadas por outros ju&iacute;zes. Tais submiss&otilde;es aparecem com a cor
+azul. As submiss&otilde;es sendo julgados por ele pr&oacute;prio aparecem em vermelho, e somente
+ele tem acesso para julg&aacute;-las (ou o admin, claro).</p>
+
+<p></p>
+<p><font size="4"><b>Chief</b></font></p>
+<p>
+Al&eacute;m de poder atuar como um juiz <i>normal</i>, um juiz pode ser designado como <i>chief</i>. Nesta aba
+o juiz chefe tem a op&ccedil;&atilde;o de julgar <i>runs</i> que foram previamente julgadas mas obtiveram resultados
+diferentes dos diferentes ju&iacute;zes. A tela &eacute; similar &agrave;quela do juiz normal, s&oacute; que <i>runs</i>
+julgadas aqui s&atilde;o dadas como resposta final ao time, sem a necessidade de interven&ccedil;&atilde;o de outro juiz.
+Por esse motivo, &eacute; aconselh&aacute;vel que mesmo o juiz chefe, quando estiver julgando <i>runs</i> sem conflito, apenas
+utilize a aba <i>Runs</i>, e deixe para utilizar esta aba apenas para resolver os casos de <i>runs</i> que foram julgadas de
+forma diferente por diferente ju&iacute;zes. Al&eacute;m das informa&ccedil;&otilde;es da <i>run</i>, o juiz chefe possui
+(ao clicar sobre a <i>run</i>) as resposta contradit&oacute;rias que foram dados pelos ju&iacute;zes, de forma a desempatar
+a quest&atilde;o e enviar a resposta mais adequada ao time.
+</p>
+<p></p>
+
+<p></p>
+<p><font size="4"><b>Score</b></font></p>
+<p>Nessa op&ccedil;&atilde;o ser&aacute; mostrado o placar atualizado da competi&ccedil;&atilde;o. Vale a pena
+lembrar que o placar dispon&iacute;vel para os ju&iacute;zes &eacute; completo, e portanto
+deve ser mantido em <b>sigilo at&eacute; a divulga&ccedil;&atilde;o dos resultados finais da competi&ccedil;&atilde;o</b>
+(para manter o suspense :-). </p>
+
+<p><font size="4"><b>Clarifications</b></font></p>
+<p>Essa op&ccedil;&atilde;o permite que o juiz responda as <i>clarifications</i> enviadas
+pelas equipes a cerca de um problema espec&iacute;fico ou de algum aspecto geral da
+prova. Para responder uma <i>clarification</i>, o juiz deve clicar sobre seu
+n&uacute;mero <b>Cuidado:</b> a caixa de texto dispon&iacute;vel na parte inferior n&atilde;o &eacute; para
+responder perguntas, mas para elaborar uma pergunta. Isso serve para que um juiz
+crie uma pergunta, que ent&atilde;o poder&aacute; ser respondida por ele mesmo (ou por outros
+ju&iacute;zes) e enviada para todas as equipes, funcionando assim como uma forma de
+aviso geral.</p>
+
+<p>Neste instante ele poder&aacute; visualizar informa&ccedil;&otilde;es sobre a <i>clarification</i>,
+como n&uacute;mero do site, n&uacute;mero da <i>clarification</i>, tempo em minutos desde o
+in&iacute;cio da competi&ccedil;&atilde;o e problema sobre o qual
+a pergunta est&aacute; relacionada, al&eacute;m de duas caixas de texto: uma com a
+pergunta e outra onde ser&aacute; preenchida a resposta. Se julgar relevante, o juiz
+pode clicar nas sele&ccedil;&otilde;es <b>answer to all users in the site</b> para que esta pergunta seja
+respondida (enviada) para todas as equipes no site ou <b>answer to all users in all sites</b>
+para que a resposta seja enviada para todas as equipes em todos os sites (no caso de
+uma competi&ccedil;&atilde;o executada no BOCA em um &uacute;nico site, n&atilde;o h&aacute; diferen&ccedil;a entre estas sele&ccedil;&otilde;es).</p>
+
+<p>O sistema tamb&eacute;m permite que o juiz utilize um bot&atilde;o chamado
+<u><i>No response</i></u>. Isso ocorre
+em geral porque a pergunta feita n&atilde;o deve ser respondida, pois sua resposta faz parte do
+entendimento da quest&atilde;o ou da prova, ou j&aacute; foi respondida anteriormente.
+Por fim, existe um bot&atilde;o onde o juiz pode devolver a <i>clarification</i> para que
+outro juiz a responda.
+</p>
+
+<p><font size="4"><b>History</b></font></p>
+<p>Ao entrar nessa op&ccedil;&atilde;o, o juiz poder&aacute; visualizar as <i>Clarifications</i> e
+<i>Runs</i> que foram respondidas/corrigidas at&eacute; o momento.
+N&atilde;o &eacute; poss&iacute;vel alterar nada, apenas visualizar.</p>
+
+<p><font size="4"><b>History</b></font></p>
+<p>Nesta aba o juiz pode atuar como uma equipe, submetendo <i>runs</i> para serem julgadas.
+O uso deste item se d&aacute; no momento de testar o sistema e o conjunto de problemas. Ju&iacute;zes
+podem submeter <i>runs</i> mesmo antes de iniciada a competi&ccedil;&atilde;o.
+</p>
+
+<p><font size="4"><b>Options</b></font></p>
+<p>Entrando nessa op&ccedil;&atilde;o poder&atilde;o ser vistas as informa&ccedil;&otilde;es: <i>Username,
+User</i> <i>full name </i>e<i> User description</i> do juiz.<i> </i>Tamb&eacute;m
+ser&aacute; poss&iacute;vel trocar a senha do juiz no BOCA digitando-se a senha antiga e a
+nova (duas vezes). Para efetuar a troca da senha, basta preencher os campos
+corretamente e clicar no bot&atilde;o <i>Send</i>. &Eacute; importante ter uma senha
+segura para um juiz.<br>
+
+</p>
+<p><font size="4"><i><b>Logout</b></i></font></p>
+<p>Essa op&ccedil;&atilde;o permite sair do BOCA.</p>
+
+<p><font size="4"><b>Dicas importantes</b></font></p>
+<p>Ao corrigir problemas, devemos tomar extremo cuidado. Ainda que seja poss&iacute;vel
+alterar a corre&ccedil;&atilde;o posteriormente (atrav&eacute;s do ambiente do administrador da competi&ccedil;&atilde;o),
+isso implica que a equipe receber&aacute; uma resposta e, depois de certo tempo, outra.
+Obviamente esse tipo de situa&ccedil;&atilde;o n&atilde;o &eacute; agrad&aacute;vel.</p>
+<p>Sempre que um dos ju&iacute;zes est&aacute; corrigindo um problema pela primeira vez (ou ainda nas
+demais vezes iniciais, isto &eacute;, at&eacute; o momento foram feitas poucas submiss&otilde;es
+desde problema),
+&eacute; interessante que todos participem e tenham cuidados especiais, analisando a
+submiss&atilde;o com calma. &Eacute; poss&iacute;vel que na primeira
+submiss&atilde;o de um dado problema possamos descobrir um defeito no
+sistema ou nos arquivos de entrada e sa&iacute;da (claro que torcemos para isso nunca aconte&ccedil;a :-).
+</p>
+<p>Para responder &agrave;s <i>clarifications</i>, &eacute; necess&aacute;rio que o juiz tenha lido com
+calma as quest&otilde;es e identifique se a pergunta &eacute; v&aacute;lida e deve ser respondida. Al&eacute;m disso,
+&eacute; necess&aacute;rio considerar se a resposta deve ser enviada para todas as equipes ou apenas
+para aquela que fez a pergunta. Perguntas t&iacute;picas que n&atilde;o s&atilde;o respondidas s&atilde;o:
+<i>Qual o tempo limite desse problema?</i>, <i>Dada essa entrada, qual a sa&iacute;da correta?</i>,
+etc. Al&eacute;m disso, perguntas cujas respostas est&atilde;o definidas nos enunciados normalmente
+n&atilde;o s&atilde;o respondidas.
+Caso haja uma d&uacute;vida sobre o que se deve responder, o juiz deve procurar o juiz-chefe
+respons&aacute;vel pela prova.
+</p>
+
+<p><font size="4"><b>Sobre o BOCA e este documento</b></font></p>
+<p>O sistema BOCA foi criado por Cassio Polpo de Campos
+e pode ser encontrado em
+<a href="http://www.ime.usp.br/~cassio/boca/">http://www.ime.usp.br/~cassio/boca/</a>.
+Este manual foi feito por Cassio Polpo de Campos.</p>
+
+<hr>
+<p>
+<a href="http://validator.w3.org/check?uri=referer">
+<img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" border="0" height="31" width="88"></a>
+
+</p></body></html>
diff --git a/doc/html/manualteam.en.html b/doc/html/manualteam.en.html
new file mode 100644
index 0000000..815eda0
--- /dev/null
+++ b/doc/html/manualteam.en.html
@@ -0,0 +1,198 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+
+<head>
+<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
+<title>BOCA Team's Manual</title>
+</head>
+
+<body bgcolor="white" vlink="blue" link="blue">
+<font size="5"><b>BOCA Online Contest Administrator</b></font>
+<p><b>Reference Manual for teams<font size="5"> - </font>version
+October/2011 (BOCA version 1.4.1+)</b></p>
+
+<p><font size="1">Copyright (c) 2003-2010 Ulisses F. F. da Silva and Cassio
+P. de Campos.<br>
+Permission is granted to copy, distribute and/or modify this document under
+the terms of the GNU Free Documentation License, Version 1.2 or any later
+version published by the Free Software Foundation; with no Invariant Sections,
+no Front-Cover Texts, and no Back-Cover Texts. A copy of the license may be
+found in <a
+href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a></font></p>
+
+<p>BOCA is a software for controlling a competition in the scope of the <i>ACM International
+Collegiate Programming Contest</i>. It has been developed in PHP and the interaction between teams
+and the system is performed using a <i>web browser</i>. In the following it is described
+this interface and its main functions.</p>
+
+<p><u>It is important that teams tested the system during the <i>warmup session</i>, before
+the official contest, so any issue can be addressed in time. The warmup has exactly this
+purpose. It is expected that teams submit correct and incorrect runs, as long as they <b>do not</b>
+try to perform malicious operations in the system. It is also expected that clarifications be
+submitted, and a small file to print.
+</u></p>
+
+<p>It is assumed here that the team has already logged in using the web browser and
+the URL address provided to access the BOCA system. The URL varies from contest to contest,
+so you have to ask the staff of your site about it. The login page contains the fields
+username and password, which are provided by the staff of the contest. Usually the
+username follows the format <b>teamX</b>, where <b>X</b> is the team number, but that is
+not mandatory (again, check with the staff). If not speficied, the initial password is empty.</p>
+
+<p>After the successful login, a page opens with the team identification in the upper-left
+corner, and the clock of the contest in the upper-right corner. During the contest,
+as the team gets YESes as balloons appear besides the team name.
+Just below this information, a vertical menu has the following options:
+<i>Problems, Runs, Score, Clarifications, Tasks, Backups, Options e Logout.</i></p>
+
+<p><font size="4"><b>Problems</b></font></p>
+<p>In this tab, the team sees the problems of the contest, together with the book of problem
+descriptions (if available online). In <i>in-loco</i> contests, this tab is less important
+given that a printed version of the booklet is distributed to the teams. Still, the column
+named <b>Basename</b> provides to teams the name of the file that has to be used for each problem.
+This is the name that has to be followed by the extension (depending on the language) and
+also as the <u>name of the class containing the <i>public main</i> procedure</u> in Java.
+Usually this information is also available in the booklet. Nevertheless, here the team can
+check if their name is correct.
+</p>
+
+<p><font size="4"><b>Runs</b></font></p>
+<p>This tab represents the actual information about the team's submissions, as well as provides
+the interface to submit new <i>runs</i>. It is important for the team to select the correct
+problem, language, and to choose the correct file for the submission. <b>Note that the file name
+must follow the specification</b> in the booklet, and which shall also be available in the tab <i>Problems</i>.
+Hence,
+<ol>
+ <li>Use in the source-code the filename defined in the column <b>Basename</b> of the tab <i>Problems</i>.
+ Take care with small typos and the proper extension according to the chosen language.
+ </li>
+ <li>Choose the correct language and problem. It is not uncommon to happen submissions with wrong filename, language or problem.
+ </li>
+ <li>Make sure your code reads the input from the <b>standard input</b> and writes the output to the
+ <b>standard output</b>. Avoid writing anything to the <b>standard error</b>. Furthermore, make your
+ program exit the code zero in the final return or exit(.) call. By default, this indicates that no
+ error has happened during its execution.
+ </li>
+</ol>
+
+<p>In order to see the judgements of runs, the team must click on
+the tab <i>Runs</i> and watch the list of submitted runs.
+However, do not stop working while waiting for the answers. Even if the judges
+are in the backstage working hard to reply to all submissions, this might take some time.
+In the last part of the competition, the scoreboard is not updated, neither the runs are answered back
+(the number of minutes from the end when this happens depends on the contest; usually it is something around
+15 minutes, but this is informed by the staff). For each run, there is a set of standard answers that
+exist in each contest (and they may vary depending on the contest). Still the common options are shown below:
+<table border="1">
+ <tr>
+ <td nowrap>Answer</td><td>Description</td>
+ </tr>
+ <tr>
+ <td nowrap>YES</td>
+ <td>Your code was properly compiled, run, and correctly generated the expected output for the problem.</td></tr>
+ <tr>
+ <td nowrap>NO: Wrong answer</td>
+ <td>Some times known as <i>Incorrect output</i>. It indicates that the code compiled and ran, however it
+ did not generated the expected output for the problem, given the input of the judges (which most certainly
+ is different from yours and is not available to you).</td>
+ </tr>
+ <tr>
+ <td nowrap>NO: Time-limit Exceeded</td>
+ <td>The code compiled properly but spent more than the maximum amount of time defined for the given problem.
+ This time-limit is defined by the judges for each problem and is not disclosed to the teams.</td>
+ </tr>
+ <tr>
+ <td nowrap>NO: Runtime Error</td>
+ <td>The code compiled properly but achieved an error during its run, given the input of the judges. Some examples
+ of runtime error are: illegal memory access (seg. fault), illegal file access, excess of memory usage, etc.</td>
+ </tr>
+ <tr><td nowrap>NO: Compilation Error</td>
+ <td>The code has not compiled properly in the judges' computers. Note that you are expected to have compiled in your
+ own computer before submitting the code. So check the compilation options and versions in your
+ computer, and if you do not have a problem compiling it locally, ask a member of the staff for help.</td>
+ </tr>
+ <tr>
+ <td nowrap>NO: presentation Error</td>
+ <td>Also known as <i>output format error</i>, it means that your code compiled, ran, and generated the
+ expected output apart from some minor presentation issue, such as upper/lower-cases, acents or punctuations (the
+ definition of presentation error may vary in each contest and is defined by the judges who created the test set).</td>
+ </tr>
+ <tr>
+ <td nowrap>NO: If possible, contact staff</td>
+ <td>This reply tells you to contact your local staff for help/asking about the issue, if at all possible.</td>
+ </tr>
+</table>
+
+<p></p>
+<p></p>
+<p><font size="4"><b>Score</b></font></p>
+<p>This tab shows the scoreboard of the contest. If running as a multi-site competition, the scoreboard might also
+contain teams from other sites, which can be identified by the <b>/X</b> after the team name, where <b>X</b> is the
+site number of the corresponding team. Note that the scoreboard is not updated during the last part of the competition.
+This is indicated accordingly.
+</p>
+
+<p><font size="4"><b>Clarifications</b></font></p>
+<p>This tab can be used by the team to submit questions to the judges concerning the problems, their descriptions,
+or any other aspect of the contest. If the question is specific to a problem of the test set, the team must select
+the problem from the combo list. Otherwise, the option <i>General</i> is to be used. The text box is used to
+write the question. It is also available in this tab all the replies to questions that were formulated by the
+team, as well as questions formulated by other teams but that judges decided that the reply should be made
+available to all the teams. Some facts:</p>
+
+<ol>
+ <li><b>Teams must make questions regarding the problems and test set using only this interface, and not directly
+ to the staff or judges.</b>
+ </li>
+ <li>It is the team's responsibility to check the tab about <i>clarifications</i> during the contest
+ to check for new replies. Judges may also send general clarifications to teams, and they will appear in this tab.
+ </li>
+</ol>
+
+<p>BOCA allows judges to use a particular button named <u><i>No response</i></u>. If you receive this
+reply it means that the question may not be answered by the judges, for instance because it is against
+the rules to disclose such information, or because the judges understand that the
+information asked is already available in the booklet of problem descriptions.</p>
+
+<p><font size="4"><b>Tasks</b></font></p>
+<p>This tab allows the team to send files for printing, as well as ask for help from a staff member (using
+the button <i>S.O.S.</i>. To print a file, just select it from the disk and click on <i>Send</i>.
+The help provided by the <i>staff</i> has to be only related to issues with the computers or other
+physical problem, while questions about the test set, problem descriptions, etc must be send to the
+judges using the tab <i>Clarifications</i>.</p>
+
+<p><font size="4"><b>Backups</b></font></p>
+<p>It is possible to send small files to BOCA in order to keep them safe in the server. This is
+particularly useful if some drastic issue happens with your computer. This tab provides a way
+for the teams to send and query back files that are stored in the server. Only very small files
+are allowed, so it is recommended that you backup only plain text files (source code, inputs, etc)
+and use a zip or tar.gz format to create a single file.
+</p>
+<br>
+
+<p><font size="4"><b>Options</b></font></p>
+<p>This tab shows the information of the team, such as <i>Username,
+User</i> <i>full name </i>,<i> User description</i>. It is possible
+for the team to update their password, although this is not necessary neither
+recommended. Instead it is recommended that the admin who created the users already
+specifies secret and safe password for all users.
+</p>
+<br>
+
+</p>
+<p><font size="4"><i><b>Logout</b></i></font></p>
+<p>Button to log out from the team interface.</p>
+
+<p><font size="4"><b>About BOCA and this document</b></font></p>
+<p>BOCA System and this document have been created by Cassio Polpo de Campos and can be found at
+<a href="http://www.ime.usp.br/~cassio/boca/">http://www.ime.usp.br/~cassio/boca/</a>.
+An initial version of this document was made by Ulisses Furquim Freire da Silva.
+</p>
+
+<hr>
+<p><a href="http://validator.w3.org/check?uri=referer"><img border="0"
+src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31"
+width="88"></a>
+</body>
+
+</html>
diff --git a/doc/html/manualteam.pt_br.html b/doc/html/manualteam.pt_br.html
new file mode 100644
index 0000000..efa3871
--- /dev/null
+++ b/doc/html/manualteam.pt_br.html
@@ -0,0 +1,227 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+
+<head>
+<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
+<title>Manual do BOCA para as equipes</title>
+</head>
+
+<body bgcolor="white" vlink="blue" link="blue">
+<font size="5"><b>BOCA Online Contest Administrator - Sistema de Submiss&atilde;o</b></font>
+<p><b>Manual de Refer&ecirc;ncia para as equipes<font size="5"> - </font>vers&atilde;o
+setembro/2010 (para o BOCA vers&atilde;o 1.4.x)</b></p>
+
+<p><font size="1">Copyright (c) 2003-2010 Ulisses F. F. da Silva and Cassio
+P. de Campos.<br>
+Permission is granted to copy, distribute and/or modify this document under
+the terms of the GNU Free Documentation License, Version 1.2 or any later
+version published by the Free Software Foundation; with no Invariant Sections,
+no Front-Cover Texts, and no Back-Cover Texts. A copy of the license may be
+found in <a
+href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a></font></p>
+
+<p>O BOCA &eacute; um <i>software</i> criado para controlar uma competi&ccedil;&atilde;o nos moldes
+da Maratona de Programa&ccedil;&atilde;o da SBC. Foi feito em PHP e a intera&ccedil;&atilde;o dos times
+com o sistema &eacute; feita usando-se um <i>browser</i>. A seguir descrevemos a
+interface dispon&iacute;vel no BOCA para as equipes e suas principais fun&ccedil;&otilde;es.</p>
+
+<p><b>&Eacute; interessante que todos os times testem essas op&ccedil;&otilde;es durante a<i>
+</i>sess&atilde;o de aquecimento <i>(warmup)</i></b> <b>que antecede a competi&ccedil;&atilde;o. O
+warmup tem exatamente esta fun&ccedil;&atilde;o, e assim espera-se que cada equipe submeta
+um problema correto, submeta um problema errado, fa&ccedil;a perguntas aos ju&iacute;zes
+atrav&eacute;s do sistema de <i>clarifications</i> e at&eacute; submeta um arquivo pequeno
+para impress&atilde;o.</b></p>
+
+<p>Neste texto ser&aacute; assumido que o time j&aacute; realizou o seu
+<i>login</i> na m&aacute;quina e abriu uma janela do navegador (leia
+as instru&ccedil;&otilde;es sobre o Maratona Linux ou sobre o sistema que
+estiver sendo utilizado). O BOCA &eacute; acessado atrav&eacute;s de uma
+<i>URL</i> (endere&ccedil;os comuns s&atilde;o
+http://mainserver/boca/ ou http://bocaserver/boca/). Ao carregar a p&aacute;gina, o time dever&aacute; ver a
+tela de <i>login</i> do BOCA. Basta digitar o <i>login</i> do
+BOCA fornecido ao time e a sua senha correspondente (usualmente
+algo como <b>teamX</b>, onde <b>X</b>
+deve ser substitu&iacute;do pelo n&uacute;mero da equipe. A senha inicial &eacute;
+vazia caso n&atilde;o escolhida diferentemente).</p>
+
+<p>Ap&oacute;s realizar o <i>login</i> com sucesso, uma p&aacute;gina dever&aacute; ser aberta
+contendo a identifica&ccedil;&atilde;o do time no canto superior esquerdo. Durante a
+competi&ccedil;&atilde;o, conforme o time acerta os problemas, pequenos bal&otilde;es coloridos
+s&atilde;o apresentados pr&oacute;ximos ao nome do time.
+No canto superior
+direito haver&aacute; a informa&ccedil;&atilde;o sobre o estado da competi&ccedil;&atilde;o: ou ainda n&atilde;o
+come&ccedil;ou, ou j&aacute; acabou, ou est&aacute; parada, ou a competi&ccedil;&atilde;o est&aacute; em andamento e a
+quantidade de minutos restantes ser&aacute; mostrada. Mais abaixo dessas primeiras
+linhas estar&atilde;o sete op&ccedil;&otilde;es, que representam a interface propriamente dita do
+BOCA. Estas sete op&ccedil;&otilde;es s&atilde;o: <i>Problems, Runs,
+Score, Clarifications, Tasks, Backups, Options e Logout.</i></p>
+
+<p><font size="4"><b>Problems</b></font></p>
+<p>Ao entrar nessa op&ccedil;&atilde;o, o time poder&aacute; visualizar as quest&otilde;es da prova. Para
+cada quest&atilde;o, estar&aacute; dispon&iacute;vel um arquivo con sua descri&ccedil;&atilde;o (muitas vezes
+apenas um arquivo de descri&ccedil;&atilde;o &eacute; dado, contendo todas as quest&otilde;es da prova).
+Esta op&ccedil;&atilde;o &eacute; normalmente utilizada para competi&ccedil;&otilde;es n&atilde;o-presenciais como forma de
+distribuir a prova. Em competi&ccedil;&otilde;es presenciais, sua utilidade &eacute; reduzida.
+Ainda nesta tela &eacute; poss&iacute;vel visualizar as cores dos bal&otilde;es de cada problema.</p>
+
+<p><font size="4"><b>Runs</b></font></p>
+<p>Ao entrar nessa op&ccedil;&atilde;o, o time poder&aacute; submeter as suas solu&ccedil;&otilde;es e receber as
+respostas dos ju&iacute;zes. <b>Para submeter uma solu&ccedil;&atilde;o, o time dever&aacute; selecionar o
+problema para o qual a solu&ccedil;&atilde;o foi feita, a linguagem utilizada e depois
+carregar o arquivo contendo a solu&ccedil;&atilde;o.</b> Depois disso, basta clicar no bot&atilde;o
+<i>Send</i> para enviar sua solu&ccedil;&atilde;o. O bot&atilde;o <i>Clear</i> permite apagar os
+dados selecionados. Algumas observa&ccedil;&otilde;es importantes na hora de criar e
+submeter uma solu&ccedil;&atilde;o:</p>
+
+<ol>
+ <li>Crie o seu arquivo-fonte contendo a solu&ccedil;&atilde;o de um problema com o <b>nome
+ indicado</b> <b>no enunciado.</b> Cuidado com pequenos erros no nome e em sua extens&atilde;o.
+ </li>
+ <li>Escolha a <b>linguagem correta.</b> Note que seu fonte dever&aacute; ter a
+ extens&atilde;o correspondente para cada uma das linguagens aceitas (veja a folha
+ de quest&otilde;es da prova).
+ </li>
+ <li>Lembre-se de que sua solu&ccedil;&atilde;o deve <b>ler os dados da entrada padr&atilde;o e
+ escrever os</b> <b>resultados na sa&iacute;da padr&atilde;o.</b> <b>Nada</b> deve ser
+ escrito <b>na sa&iacute;da padr&atilde;o de erro.</b> Al&eacute;m disso, programas escritos em
+ linguagens que possibilitam o retorno de algum valor para o sistema
+ operacional devem retornar o valor 0 (zero), que por conven&ccedil;&atilde;o indica que
+ nenhum problema ocorreu na execu&ccedil;&atilde;o.
+ </li>
+</ol>
+
+<p>Para receber as respostas dos ju&iacute;zes, o time dever&aacute; clicar em <i>Runs</i> e
+esperar que a lista contendo as respostas recebidas para cada solu&ccedil;&atilde;o
+submetida seja atualizada (ainda assim, n&atilde;o perca tempo esperando. Voc&ecirc; pode
+produzir enquanto a resposta dos ju&iacute;zes n&atilde;o chega). Vale a pena lembrar que
+nos <b>&uacute;ltimos minutos os times que submeterem</b> <b>solu&ccedil;&otilde;es n&atilde;o receber&atilde;o
+mais as respostas dos ju&iacute;zes</b>
+(assim o suspense fica melhor, n&atilde;o? :-). Esse prazo &eacute; informado na
+competi&ccedil;&atilde;o. Cada competi&ccedil;&atilde;o tem seu conjunto de respostas poss&iacute;vel que as
+equipes podem receber. A seguir apresentamos apenas uma tabela exemplo com as
+respostas tradicionais. <b>Verifique as especialidades da sua
+competi&ccedil;&atilde;o</b>.</p>
+
+<table border="1">
+ <tr>
+ <td nowrap>Resposta</td><td>Descri&ccedil;&atilde;o</td>
+ </tr>
+ <tr>
+ <td nowrap>YES</td>
+ <td>Seu programa foi aceito, e voc&ecirc; receber&aacute; um bal&atilde;o da cor correspondente ao problema.</td></tr>
+ <tr>
+ <td nowrap>NO: Incorrect Output</td>
+ <td>Tamb&eacute;m conhecido como <i>Wrong Answer</i>. Indica que seu programa
+ respondeu incorretamente a algum(ns) dos testes dos ju&iacute;zes.</td>
+ </tr>
+ <tr>
+ <td nowrap>NO: Time-limit Exceeded</td>
+ <td>A execu&ccedil;&atilde;o do seu programa excedeu o tempo permitido pelos
+ ju&iacute;zes. Esse limite de tempo usualmente n&atilde;o &eacute; divulgado aos times e pode variar
+ para cada problema.</td>
+ </tr>
+ <tr>
+ <td nowrap>NO: Runtime Error</td>
+ <td>Durante o teste ocorreu um erro de execu&ccedil;&atilde;o (causado pelo seu
+ programa) na m&aacute;quina dos ju&iacute;zes. Acesso a posi&ccedil;&otilde;es irregulares de
+ mem&oacute;ria ou estouro dos limites da m&aacute;quina s&atilde;o os erros mais comuns.</td>
+ </tr>
+ <tr><td nowrap>NO: Compilation Error</td>
+ <td>Seu programa tem erros de sintaxe. Pode ser ainda que voc&ecirc; errou o
+ nome do problema ou linguagem no momento da submiss&atilde;o.</td>
+ </tr>
+ <tr>
+ <td nowrap>NO: Output Format Error</td>
+ <td>Tamb&eacute;m conhecido como <i>Presentation Error</i>, indica que a sa&iacute;da
+ do seu programa n&atilde;o segue a especifica&ccedil;&atilde;o exigida na folha de
+ quest&otilde;es, apesar do "resultado" estar correto. Corrija para se
+ adequar &agrave; especifica&ccedil;&atilde;o do problema.</td>
+ </tr>
+ <tr>
+ <td nowrap>NO: Contact Staff</td>
+ <td>Voc&ecirc; deve pedir a presen&ccedil;a do pessoal de <i>staff</i>, pois algum
+ erro incomum aconteceu.</td>
+ </tr>
+</table>
+
+<p></p>
+<p></p>
+<p><font size="4"><b>Score</b></font></p>
+<p>Nessa op&ccedil;&atilde;o ser&aacute; mostrado o placar atualizado da competi&ccedil;&atilde;o. Vale a pena
+lembrar que <b>o placar ser&aacute; congelado antes do final da competi&ccedil;&atilde;o</b>
+(suspense mantido :-). Esse prazo tamb&eacute;m &eacute; informado na competi&ccedil;&atilde;o, e o placar
+quando estiver congelado mostra um aviso sobre seu estado.</p>
+
+<p><font size="4"><b>Clarifications</b></font></p>
+<p>Essa op&ccedil;&atilde;o permite que o time fa&ccedil;a perguntas aos ju&iacute;zes a cerca de um
+problema espec&iacute;fico ou de algum aspecto geral da prova. O time dever&aacute;
+selecionar o problema relacionado &agrave; sua pergunta ou selecionar <i>General</i>,
+caso a pergunta n&atilde;o seja espec&iacute;fica. Logo abaixo dever&aacute; ser escrito o texto da
+<i>clarification</i>. Para enviar a <i>clarification</i> basta clicar no bot&atilde;o
+<i>Send.</i> O bot&atilde;o <i>Clear</i> apaga os dados selecionados. Para visualizar
+a resposta da <i>clarification</i>, o time dever&aacute; estar na op&ccedil;&atilde;o
+<i>Clarifications</i> e olhar na lista das <i>clarifications</i> submetidas se
+a resposta j&aacute; foi dada. Como j&aacute; foi mencionado, uma lista contendo as
+<i>clarifications</i> pertinentes a cada time ser&aacute; sempre mostrada nessa
+op&ccedil;&atilde;o. Algumas observa&ccedil;&otilde;es importantes sobre <i>clarifications</i>:</p>
+
+<ol>
+ <li><b>Os times devem fazer perguntas sobre a prova utilizando apenas essa
+ interface</b> <b>dispon&iacute;vel no BOCA!</b>
+ </li>
+ <li>O time dever&aacute; ficar atento &agrave;s <i>clarifications</i> durante toda a
+ prova, pois uma <i>clarification</i> feita por um time poder&aacute; ser respondida
+ para todos os outros. Os ju&iacute;zes tamb&eacute;m podem enviar clarifications a todos
+ os times se julgarem conveniente. Fiquem atentos.
+ </li>
+ <li>As respostas de clarifications n&atilde;o surgem na tela. Voc&ecirc; deve consultar esta p&aacute;gina para v&ecirc;-las.
+ </li>
+</ol>
+
+<p>O sistema permite que o juiz respondendo uma d&uacute;vida utilize um bot&atilde;o chamado <u><i>No response</i></u>. Isso ocorre
+em geral porque a pergunta feita n&atilde;o deve ser respondida, pois sua resposta faz parte do
+entendimento da quest&atilde;o ou da prova. Neste caso sugerimos ler com cuidado as quest&otilde;es e as
+poss&iacute;veis <i>clarifications</i> relacionadas.</p>
+
+<p><font size="4"><b>Tasks</b></font></p>
+<p>Ao entrar nessa op&ccedil;&atilde;o, o time poder&aacute; enviar arquivos para impress&atilde;o. Para
+isso o arquivo deve ser selecionado e ent&atilde;o basta clicar no bot&atilde;o
+<i>Send</i>. O bot&atilde;o <i>Clear</i> permite apagar os dados selecionados. Outra
+op&ccedil;&atilde;o neste item &eacute; o bot&atilde;o <i>S.O.S.</i> que pode ser usado para chamar a
+ajuda do pessoal de <i>staff</i>. Essa ajuda deve estar relacionada apenas com
+problemas do computador ou semelhantes, j&aacute; que d&uacute;vidas sobre a prova devem ser
+enviadas pelo sistema BOCA na op&ccedil;&atilde;o <i>Clarifications</i>.</p>
+
+<p><font size="4"><b>Backups</b></font></p>
+<p>No sistema BOCA &eacute; poss&iacute;vel enviar pequenos arquivos para que sejam
+guardados no servidor em case de uma interrup&ccedil;&atilde;o do funcionamento do computador
+do time. Entrando nessa op&ccedil;&atilde;o poder&atilde;o ser vistos os arquivos j&aacute; enviados
+e mantidos no servidor, assim como enviar novos arquivos. Note que existe um limite usualmente
+pequeno na capacidade de armazenamento para que n&atilde;o hajam abusos. Um arquivo compactado &eacute;
+geralmente a melhor forma de guardar dados no servidor.<br>
+
+<p><font size="4"><b>Options</b></font></p>
+<p>Entrando nessa op&ccedil;&atilde;o poder&atilde;o ser vistas as informa&ccedil;&otilde;es: <i>Username,
+User</i> <i>full name </i>e<i> User description</i> do time.<i> </i>Tamb&eacute;m
+ser&aacute; poss&iacute;vel trocar a senha do time no BOCA digitando-se a senha antiga e a
+nova (duas vezes). Para efetuar a troca da senha, basta preencher os campos
+corretamente e clicar no bot&atilde;o <i>Send</i>.<br>
+
+</p>
+<p><font size="4"><i><b>Logout</b></i></font></p>
+<p>Essa op&ccedil;&atilde;o permite sair do BOCA.</p>
+
+<p><font size="4"><b>Sobre o BOCA e este documento</b></font></p>
+<p>O sistema BOCA foi criado por Cassio Polpo de Campos
+e pode ser encontrado em
+<a href="http://www.ime.usp.br/~cassio/boca">http://www.ime.usp.br/~cassio/boca</a>.
+Este manual, em sua vers&atilde;o inicial, foi feito por Ulisses Furquim Freire da Silva e
+complementado e atualizado por Cassio Polpo de Campos.</p>
+
+<hr>
+<p><a href="http://validator.w3.org/check?uri=referer"><img border="0"
+src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31"
+width="88"></a>
+</body>
+
+</html>