From 8e7d5ce7a38b50a089f83e5d4929404229f39656 Mon Sep 17 00:00:00 2001 From: cassio Date: Sun, 26 Oct 2014 19:24:16 +0000 Subject: extra lang c++11 --- src/fcontest.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/fcontest.php') 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 @@ . //////////////////////////////////////////////////////////////////////////////// -//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 ". -- cgit v1.2.3