%
if (typeof contest === 'undefined') contest = null;
if (contest) {
this.title = syzoj.utils.removeTitleTag(problem.title) + ' - ' + contest.title + ' - 比赛';
} else {
this.title = problem.title + ' - 题目';
}
%>
<% include header %>
内存限制: <%= problem.memory_limit %> MiB
时间限制: <%= problem.time_limit %> ms
<% if (problem.file_io) { %>
输入文件: <%= problem.file_io_input_name %>
输出文件: <%= problem.file_io_output_name %>
<% } else { %>
标准输入输出
<% } %>
<%- problem.description %>
<%- problem.input_format %>
<%- problem.output_format %>
<%- problem.limit_and_hint %>
<%
let formUrl;
if (contest) formUrl = syzoj.utils.makeUrl(['submit', problem.id], { contest_id: contest.id });
else formUrl = syzoj.utils.makeUrl(['submit', problem.id]);
%>
<% include footer %>