summaryrefslogtreecommitdiff
path: root/unsolved/kattis-kth-adk-spelling/wlgen.js
blob: 3f8fb02102a610810e0fa9c9f1796967e1bcf17d (plain) (blame)
1
2
3
4
5
randchar = _ => String.fromCharCode("a".charCodeAt(0) + Math.floor(Math.random() * 26));
wl = new Array(500000).fill().map(_ => new Array(30).fill().map(randchar).join(""));
for (w of wl) {
    console.log(w);
}