diff --git a/RANK.html b/RANK.html
new file mode 100644
index 0000000..fceec1e
--- /dev/null
+++ b/RANK.html
@@ -0,0 +1,96 @@
+
+ RANK
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
挑战赛数据展示
+
该页面展示所有提交的分数(包括零分)
+
数据刷新可能有五分钟左右的延迟。
+
评测结果
+
+
+
+ | 时间 |
+ 名称 |
+ 得分 |
+ 运行时间 |
+ 详细信息 |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/RANK.md b/RANK.md
new file mode 100644
index 0000000..e7aa0cd
--- /dev/null
+++ b/RANK.md
@@ -0,0 +1,61 @@
+# 挑战赛数据展示
+
+该页面展示所有提交的分数(包括零分)
+
+数据刷新可能有五分钟左右的延迟。
+
+## 评测结果
+
+
+
+
+ | 时间 |
+ 名称 |
+ 得分 |
+ 运行时间 |
+ 详细信息 |
+
+
+
+
+
+
+
+
diff --git a/README.md b/README.md
index 16f5a26..dbab3c5 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# exp-backend
+# Challenge-Backend
这是针对自动化评测的后端源码。
diff --git a/get_scores.js b/get_scores.js
new file mode 100644
index 0000000..3f01c48
--- /dev/null
+++ b/get_scores.js
@@ -0,0 +1,53 @@
+async function fetchData() {
+ try {
+ const response = await fetch("https://rank.intcplab.cn/get_scores");
+ const data = await response.json();
+
+ const tableBody = document.getElementById("data-table-body");
+ tableBody.innerHTML = "";
+
+ data.forEach((item, index) => {
+ const row = document.createElement("tr");
+
+ row.innerHTML = `
+ ${item.time} |
+ ${item.name} |
+ ${item.score} |
+ ${item.running_time} |
+
+
+ |
+ `;
+
+ tableBody.appendChild(row);
+ });
+
+ const modal = document.getElementById("detailsModal");
+ const span = document.getElementsByClassName("close")[0];
+ span.onclick = function () {
+ modal.style.display = "none";
+ };
+
+ window.onclick = function (event) {
+ if (event.target === modal) {
+ modal.style.display = "none";
+ }
+ };
+ } catch (error) {
+ console.error("获取数据时发生错误:", error);
+ }
+}
+
+function showDetailsModal(index) {
+ const modal = document.getElementById("detailsModal");
+ const modalDetails = document.getElementById("modal-details");
+
+ fetch("https://rank.intcplab.cn/get_scores")
+ .then((response) => response.json())
+ .then((data) => {
+ modalDetails.innerHTML = data[index].details;
+ modal.style.display = "block";
+ });
+}
+
+window.onload = fetchData;
diff --git a/index.html b/index.html
deleted file mode 100644
index 55c7844..0000000
--- a/index.html
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
-
-
- 挑战赛数据展示
-
-
-
- 测试结果
-
-
-
- | 时间 |
- 学号 |
- 名称 |
- 得分 |
- 运行时间 |
- 详细信息 |
-
-
-
-
-
-
-
-
-
-