my @problems = map +{ id => $_, name => problem_name }, problems;
$htc->param(problems => \@problems);
$htc->param(formats => FORMATS);
my @problems = map +{ id => $_, name => problem_name }, problems;
$htc->param(problems => \@problems);
$htc->param(formats => FORMATS);