Commit 25465b9d authored by nanahira's avatar nanahira

run for 5 digits

parent 68bd3eda
Pipeline #11600 passed with stages
in 41 seconds
......@@ -3,13 +3,13 @@ import fs from 'fs';
import _ from 'lodash';
let current = parseInt(process.env.CURRENT || '0', 36);
const max = parseInt(process.env.MAX || 'ZZZZ', 36);
const max = parseInt(process.env.MAX || 'ZZZZZ', 36);
const parallel = parseInt(process.env.PARALLEL) || 10;
const useCode = async (n: number) => {
let code = n.toString(36).toUpperCase();
if (code.length < 4) {
code = '0'.repeat(4 - code.length) + code;
if (code.length < 5) {
code = '0'.repeat(5 - code.length) + code;
}
console.log(`Trying ${code}`);
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment