输出万数块情况#
Data: 2025-12-22 21:13:23
非常迷你和好用:
(function() {
// === 配置图标 ===
const CHAR_OCCUPIED = '■'; // 有货
const CHAR_EMPTY = '.'; // 空缺 (目标!)
// === 准备数据 ===
const step = 10000;
const rowBase = 100000;
let output = `\n%c (0 1 2 3 4 5 6 7 8 9 万)\n -----------------------------\n`;
// 生成 10 行
for (let r = 0; r < 10; r++) {
let line = `${r}0w|`; // 行号: 00w|, 10w|...
// 生成 10 列
for (let c = 0; c < 10; c++) {
// 计算真实索引:(行 * 10万) + (列 * 1万)
const idx = (r * rowBase) + (c * step);
// 检查占用
const hasData = k.indexToArgs.get(idx) !== undefined;
// 拼接字符 (加个空格是为了视觉上更正方)
line += ` ${hasData ? CHAR_OCCUPIED : CHAR_EMPTY} `;
}
output += line + '\n';
}
// === 打印结果 ===
// 使用 monospace 样式确保字符严格对齐
console.log(output, "font-family: monospace; line-height: 1.2; font-size: 14px;");
})();这个是总览
(function checkPool() {
const r = { type1: [], type2: [], type3: [] };
const limits = { t1: 90, t2: 300 * 4, t3: 10000 };
// 扫描 万数块 (0~90w)
for(let i=0; i<900000; i+=10000) if(k.indexToArgs.has(i)) r.type1.push(i);
// 扫描 百数块 (90w~99w)
for(let i=63_0000; i<990000; i+=100) if(k.indexToArgs.has(i)) r.type2.push(i);
// 扫描 单数块 (99w~100w)
for(let i=990000; i<1000000; i+=1) if(k.indexToArgs.has(i)) r.type3.push(i);
console.log(`🟦 万数块: 已用 ${r.type1.length} / ${limits.t1} (剩余 ${limits.t1 - r.type1.length})`);
console.log(`🟪 百数块: 已用 ${r.type2.length} / ${limits.t2} (剩余 ${limits.t2 - r.type2.length})`);
console.log(`🟩 单数块: 已用 ${r.type3.length} / ${limits.t3} (剩余 ${limits.t3 - r.type3.length})`);
return r;
})();