Pages to open when doing AtCoder atcoder entry points.

Problem conversion note that I didn’t notice.

get_samplejs

let xs = $(".lang-ja .part pre[id^='pre-sample']");
let ret = "\n"
for (let i = 0; i < xs.length; i += 2){
  id = (i / 2) + 1;
  q = xs[i].innerText;
  a = xs[i + 1].innerText;
  ret += `T${id} = """\n${q}"""\n`
  ret += `TEST_T${id} = """\n>>> as_input(T${id})\n>>> main()\n${a}"""\n`
}
console.log(ret + "\n")

This page is auto-translated from /nishio/AtCoderEntrypoint using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.