/* -*- c -*- */
/* $Id: ej_limits.h,v 1.2 2005/11/09 15:19:34 cher Exp $ */
#ifndef __EJ_LIMITS_H__
#define __EJ_LIMITS_H__

/* Copyright (C) 2005 Alexander Chernov <cher@ispras.ru> */

/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/* maximal possible number of a contest */
#define MAX_CONTEST_ID  999999

/* maximal possible number of a user */
#define EJ_MAX_USER_ID  999999

/* maximal possible number of a submit */
#define EJ_MAX_RUN_ID   999999

/* maximal possible number of a message */
#define EJ_MAX_CLAR_ID  999999

/* maximal possible number of a programming language */
#define EJ_MAX_LANG_ID  255

/* maximal directory depth in base32-encoding */
#define EJ_MAX_32DIGITS 4

#endif /* __EJ_LIMITS_H__ */
