From 517381626f0d59b91519436b388ac505ced792f2 Mon Sep 17 00:00:00 2001 From: mathiasmagnusson Date: Sat, 26 Feb 2022 17:20:49 +0100 Subject: Initial commit --- unsolved/kattis-kth-adk-spelling/wlgen.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 unsolved/kattis-kth-adk-spelling/wlgen.js (limited to 'unsolved/kattis-kth-adk-spelling/wlgen.js') diff --git a/unsolved/kattis-kth-adk-spelling/wlgen.js b/unsolved/kattis-kth-adk-spelling/wlgen.js new file mode 100644 index 0000000..3f8fb02 --- /dev/null +++ b/unsolved/kattis-kth-adk-spelling/wlgen.js @@ -0,0 +1,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); +} -- cgit v1.2.3