'; if ($problem['submission_id']) { echo ''; } else { echo ''; } echo '#', $problem['id'], ''; echo ''; echo '', $problem['title'], ''; if ($problem['uploader'] == $myUser['username']) { echo ' ', UOJLocale::get('problems::my problem') ,' '; } if ($problem['is_hidden']) { echo ' ', UOJLocale::get('hidden'), ' '; } if (isset($_COOKIE['show_tags_mode'])) { foreach (queryProblemTags($problem['id']) as $tag) { echo ' '; echo '', HTML::escape($tag), ''; echo ' '; } } echo ''; if (isset($_COOKIE['show_submit_mode'])) { $perc = $problem['submit_num'] > 0 ? round(100 * $problem['ac_num'] / $problem['submit_num']) : 0; echo <<×{$problem['ac_num']} ×{$problem['submit_num']}
{$perc}%
EOD; } if (isset($_COOKIE['show_difficulty'])) { $extra_config = getProblemExtraConfig($problem); if ($extra_config['difficulty'] == 0) { echo ""; } else { echo "{$extra_config['difficulty']}"; } } echo '', getClickZanBlock('P', $problem['id'], $problem['zan'], null, false), ''; echo ''; } } $header = ''; $header .= 'ID'; $header .= ''.UOJLocale::get('problems::problem').''; if (isset($_COOKIE['show_submit_mode'])) { $header .= ''.UOJLocale::get('problems::ac').''; $header .= ''.UOJLocale::get('problems::submit').''; $header .= ''.UOJLocale::get('problems::ac ratio').''; } if (isset($_COOKIE['show_difficulty'])) { $header .= ''.UOJLocale::get('problems::difficulty').''; } $header .= ''.UOJLocale::get('appraisal').''; $header .= ''; $pag_config = [ 'page_len' => 40, 'col_names' => [ 'best_ac_submissions.submission_id as submission_id', 'problems.id as id', 'problems.is_hidden as is_hidden', 'problems.title as title', 'problems.submit_num as submit_num', 'problems.ac_num as ac_num', 'problems.zan as zan', 'problems.extra_config as extra_config', 'problems.uploader as uploader', ], 'table_name' => "problems left join best_ac_submissions on best_ac_submissions.submitter = '{$myUser['username']}' and problems.id = best_ac_submissions.problem_id inner join lists_problems lp on lp.list_id = {$list_id} and lp.problem_id = problems.id", 'cond' => '1', 'tail' => 'ORDER BY `id` ASC', ]; $pag = new Paginator($pag_config); ?>

(ID: #)

题单简介

purify(HTML::parsedown()->text($list['description'])) ?>

暂无简介

/>
/>
/>
pagination() ?>
get() as $idx => $row): ?> isEmpty()): ?>
pagination() ?>