From: Marius Gavrilescu Date: Thu, 15 May 2014 13:15:38 +0000 (+0300) Subject: Add statement writer support to gruntmaster-problem X-Git-Tag: 5999.000_003~7 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=6544497ee80ec3ca081a8c8161f2e8f4b92a5ed6;p=gruntmaster-data.git Add statement writer support to gruntmaster-problem --- diff --git a/gruntmaster-problem b/gruntmaster-problem index b942897..fa1403e 100755 --- a/gruntmaster-problem +++ b/gruntmaster-problem @@ -24,6 +24,7 @@ sub cmd_add{ my $private = prompt('Private?', '-yn') eq 'y'; my $contest = prompt 'Contest'; my $author = prompt 'Problem author (full name)'; + my $writer = prompt 'Problem statement writer (full name)'; my $owner = prompt 'Problem owner (username)'; my $level = prompt 'Problem level', -menu => "beginner\neasy\nmedium\nhard"; my $statement = read_file prompt 'File with problem statement', -complete => 'filenames'; @@ -60,6 +61,7 @@ sub cmd_add{ level => $level, statement => $statement, author => $author, + writer => $writer, owner => $owner, generator => $generator, runner => $runner,