diff --git a/views/problem.ejs b/views/problem.ejs index b970480..af03886 100644 --- a/views/problem.ejs +++ b/views/problem.ejs @@ -71,36 +71,46 @@ if (contest) { <% } %> + <% if (problem.description) { %>

题目描述

<%- problem.description %>
+ <% } %> + <% if (problem.input_format) { %>

输入格式

<%- problem.input_format %>
+ <% } %> + <% if (problem.output_format) { %>

输出格式

<%- problem.output_format %>
+ <% } %> + <% if (problem.example) { %>

样例

<%- problem.example %>
+ <% } %> + <% if (problem.limit_and_hint) { %>

数据范围与提示

<%- problem.limit_and_hint %>
+ <% } %>
<%