diff options
| author | cassio <cassiopc@gmail.com> | 2014-10-26 19:24:16 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2014-10-26 19:24:16 +0000 |
| commit | 8e7d5ce7a38b50a089f83e5d4929404229f39656 (patch) | |
| tree | 5881abed139384bc6bbf4d4199d07c51877aec3e /src | |
| parent | 6a532dd4e6b853ea3c8e5694f57295e8a3b191f7 (diff) | |
| download | boca-8e7d5ce7a38b50a089f83e5d4929404229f39656.tar.gz boca-8e7d5ce7a38b50a089f83e5d4929404229f39656.zip | |
extra lang c++11
Diffstat (limited to 'src')
| -rw-r--r-- | src/fcontest.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/fcontest.php b/src/fcontest.php index a36141e..7adbaab 100644 --- a/src/fcontest.php +++ b/src/fcontest.php @@ -1,7 +1,7 @@ <?php //////////////////////////////////////////////////////////////////////////////// //BOCA Online Contest Administrator -// Copyright (C) 2003-2013 by BOCA System (bocasystem@gmail.com) +// Copyright (C) 2003-2014 by BOCA System (bocasystem@gmail.com) // // 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 @@ -15,8 +15,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. //////////////////////////////////////////////////////////////////////////////// -//Last updated 12/sep/2013 by cassio@ime.usp.br - +//Last updated 26/oct/2014 by cassio@ime.usp.br +// inclusion of default extra language C++11 +// function DBDropContestTable() { $c = DBConnect(); $r = DBExec($c, "drop table \"contesttable\"", "DBDropContestTable(drop table)"); @@ -990,6 +991,10 @@ function insertlanguages($n,$c=null) { $param['name']='Java'; $param['extension']='java'; DBNewLanguage($n, $param, $c); + $param['number']=4; + $param['name']='C++11'; + $param['extension']='cc'; + DBNewLanguage($n, $param, $c); } function insertanswers($n,$c) { DBExec($c, "insert into answertable (contestnumber, answernumber, runanswer, yes, fake) values ". |