正文
增加 10 行删除 6 行
2 行未改动3456789101112 行未改动24252627282930313234 行未改动67686970717273747550 行未改动12612712812913013113213313413513613732 行未改动170171172173174175176177178109 行未改动全部展开2 行未改动by Unknown Fixed By ljx_蒟蒻007找不到原作者了,侵权必删7.30 Update:为什么我每次试用都能出新bug。。。现在不是正好一年了~~距上次更新正好一年~~12 行未改动2. 定数数值膨胀(~~第九章预告~~)3. 增加 $4$ 种评测结果4. 修复了题目 AC 后图标无法显示的问题5. 修复了原来的 html 移动机制无法适应各种特殊情况的问题6. 在提交数小于 $20$ 时定数显示问号由于一些神秘原因,在题目列表与题单中,第 $6$ 条可能无法正常显示,需要手动刷新### 功能介绍34 行未改动```// ==UserScript==// @name Phigros in luogu// @namespace http://tampermonkey.net/// @version 2026-07-30// @description Phigros in luogu// @author Unknown Fixed By ljx_蒟蒻007// @match https://www.luogu.com.cn/*// @grant none50 行未改动for (let i=0; i < tmp.length; i++){if(i < info.length && info[i].pid == tmp[i].children[1].innerText){x = info[i].totalSubmit;y = info[i].totalAccepted;setName(tmp[i].children[4].children[0].children[0], y / Math.max(x, 1), x);}else{x = tmp[i].children[5].children[0].children[0].style.width;setName(tmp[i].children[4].children[0].children[0], x.substr(0, x.length - 1) * 0.01, 114514);tmp[i].style.transform = "translateX(" + -i*10 + ")";}// info只有刷新才会更新是什么机制。。。}32 行未改动img.style.height = "50px";sc.parentNode.appendChild(img);sc.remove();}}}}}if (location.pathname.includes("/training/")) {109 行未改动全部展开2 行未改动3456789101112 行未改动24252627282930313234 行未改动67686970717273747550 行未改动12612712812913013113213313413513613713813914032 行未改动173174175176177178179180181182109 行未改动全部展开2 行未改动by Unknown Fixed By ljx_蒟蒻007找不到原作者了,侵权必删7.30 & 8.1 Update:为什么我每次试用都能出新bug。。。现在不是正好一年了~~距上次更新正好一年~~12 行未改动2. 定数数值膨胀(~~第九章预告~~)3. 增加 $4$ 种评测结果4. 修复了题目 AC 后图标无法显示的问题5. 修复了原来的 html 移动机制无法适应各种特殊情况的问题6. 在提交数小于 $20$ 或通过数小于 $1$ 时定数显示问号由于一些神秘原因,在题目列表与题单中,第 $6$ 条可能无法正常显示,需要手动刷新### 功能介绍34 行未改动```// ==UserScript==// @name Phigros in luogu// @namespace http://tampermonkey.net/// @version 2026-08-01// @description Phigros in luogu// @author Unknown Fixed By ljx_蒟蒻007// @match https://www.luogu.com.cn/*// @grant none50 行未改动for (let i=0; i < tmp.length; i++){if(i < info.length && info[i].pid == tmp[i].children[1].innerText){x = info[i].totalSubmit;y = info[i].totalAccepted;if(y == 0)setName(tmp[i].children[4].children[0].children[0], y / Math.max(x, 1), 0);else setName(tmp[i].children[4].children[0].children[0], y / Math.max(x, 1), x);}else{x = tmp[i].children[5].children[0].children[0].style.width;let ratio = x.substr(0, x.length - 1) * 0.01;if(ratio == 0)setName(tmp[i].children[4].children[0].children[0], ratio, 0);else setName(tmp[i].children[4].children[0].children[0], ratio, 114514);tmp[i].style.transform = "translateX(" + -i*10 + ")";}// info只有刷新才会更新是什么机制。。。}32 行未改动img.style.height = "50px";sc.parentNode.appendChild(img);sc.remove();}}else if(sc.innerText == "Compile Error")sc.innerText = "闪退";else if(sc.innerText == "Unknown Error")sc.innerText = "断触";}}}if (location.pathname.includes("/training/")) {109 行未改动全部展开