import sequtils,strutils,osproc;const p = @[ """echo '{.experimental.} import threadpool import sequtils,strutils,algorithm,math,future,macros echo stdin.readLine ' > h.nim""","nim --hints:off -o:b.out -d:release --threads:on c h.nim"].mapIt(it.gorge) discard execProcess("""a="$(ls -1t ../time/ | head -1)";./b.out < ../test_in/$a > ../out/$a""")