From 85eea4e0992d69486e85e50c4c1dc32ebeee3df0 Mon Sep 17 00:00:00 2001
From: XiaoGeNintendo <34835642+XiaoGeNintendo@users.noreply.github.com>
Date: Tue, 4 Feb 2020 15:09:12 +0800
Subject: [PATCH] bootstrap collapse
---
WebContent/sview.jsp | 102 +++++++++++++++++++++++++++++--------------
1 file changed, 70 insertions(+), 32 deletions(-)
diff --git a/WebContent/sview.jsp b/WebContent/sview.jsp
index a9df05c..6ac5397 100644
--- a/WebContent/sview.jsp
+++ b/WebContent/sview.jsp
@@ -49,53 +49,91 @@
Memory:<%=s.getRunMem() %>
Judger:<%=s.judger %>
-
<%=s.code.replace("<", "<").replace(">",">") %> --
<%=s.compilerInfo.replace("<", "<").replace(">",">") %> -+
<%=s.code.replace("<", "<").replace(">",">") %>+
<%=s.compilerInfo.replace("<", "<").replace(">",">") %>+
Subtask: <%=e.getKey() %> [<%=e.getValue().getVerdict()%>;<%=e.getValue().getScore(p.tests.get(e.getKey()).scheme) %>] | -||
---|---|---|
+
+
+
+
<%
int cnt=0;
for(TestResult tr:e.getValue().res){
cnt++;
%>
-
+
+
+
<%
}
%>
- " class="collapse" data-parent="#set<%=e.getKey() %>">
+
+
+
+ Input+<%=tr.input.replace("<", "<").replace(">",">") %> ++ Output+<%=tr.output.replace("<", "<").replace(">",">") %> ++ Answer+<%=tr.answer.replace("<", "<").replace(">",">") %> ++ Checker Information+<%=tr.info.replace("<", "<").replace(">",">") %> ++ |