From 0251699397abe4fbd0888713e13f5e40a742c932 Mon Sep 17 00:00:00 2001 From: Menci Date: Tue, 18 Apr 2017 20:19:31 +0800 Subject: [PATCH] Show problem ID in problem page --- views/problem.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/problem.ejs b/views/problem.ejs index 4ba8c26..2664ea9 100644 --- a/views/problem.ejs +++ b/views/problem.ejs @@ -24,7 +24,7 @@ if (contest) { <% if (contest) { %> <%= syzoj.utils.removeTitleTag(problem.title) %> <% } else { %> - <%= problem.title %><% if (problem.allowedEdit && !problem.is_public) { %>未公开<% } %> + #<%= problem.id %>. <%= problem.title %><% if (problem.allowedEdit && !problem.is_public) { %>未公开<% } %> <% } %>