BOCA Online Contest Administrator


This is an administration system to held programming contests (e.g. ACM-ICPC, Maratona de Programação da SBC). It has been designed to use php and postgresql as backends. The main desired features are: portability, concurrency control, multi-site and distributed contests, simple web interface.

Important warning: the code is available AS IS, without any kind of warranty, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose, to the extent permitted by law. The entire risk as to the quality and performance is with you. I anticipate its low readability and maintainability quality (but you know, it is a Maratona code! Comments on the code are unnecessary and a waste of time :-)

Citing the software

If you would like to cite this work, please refer to this webpage or to the following publication: DE CAMPOS, C. P. ; FERREIRA, C. E. . BOCA: um sistema de apoio a competições de programação (BOCA: A Support System for Programming Contests). In: Workshop de Educacao em Computacao (Brazilian Workshop on Education in Computing), 2004, Salvador. Anais do Congresso da SBC, 2004.

There is also an extended abstract plus talk named Brazilian's Contest Infrastructure: BOCA and Maratona Linux by DE CAMPOS, C.P, FERREIRA, C.E., ANIDO, R., at the Collaborative Learning Initiative Symposium, 2010.


If you have questions, please check users discussion group

BOCA is released under GNU Public License 3 since version 1.5. Previously, BOCA was released under Q Public License 1.0, until version 1.4.x. See for details.

The easiest way to install BOCA is using DEB packages:

The code is also available at Github

Comments and Suggestions

Participate in the users discussion group or send an email to cassiopc at

Valid HTML 4.01!