by@akouryy1
AC
1329ms
var d=1 while let l=readLine(){print(String(l.map{d=$0=="T" ?0:(d-($0=="K" ?49:-1))%50 return d<1 ?"a":$0}))}
T K
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a aaaa
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc867bc650 /* 6 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55acf7f02c00 /* 6 vars */) = 0 11 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 12 execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.swift"], 0x55acf7f02c20 /* 6 vars */) = 0 12 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 13 execve("/root/.swiftenv/shims/swiftc", ["/root/.swiftenv/shims/swiftc", "-o", "/tmp/code", "/tmp/code.swift"], 0x55acf7f02c48 /* 6 vars */) = 0 13 execve("/bin/bash", ["bash", "/root/.swiftenv/shims/swiftc", "-o", "/tmp/code", "/tmp/code.swift"], 0x7ffcebf48e70 /* 6 vars */) = 0 13 execve("/root/.swiftenv/libexec/../libexec/swiftenv", ["/root/.swiftenv/libexec/../libex"..., "exec", "--shim", "swiftc", "-o", "/tmp/code", "/tmp/code.swift"], 0x563796a1fe30 /* 8 vars */) = 0 13 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"..., "exec", "--shim", "swiftc", "-o", "/tmp/code", "/tmp/code.swift"], 0x7ffd267aa648 /* 8 vars */) = 0 16 execve("/usr/bin/dirname", ["dirname", "/root/.swiftenv/libexec/../libex"...], 0x564d60d822d0 /* 10 vars */) = 0 16 +++ exited with 0 +++ 15 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 15 +++ exited with 0 +++ 14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 19 execve("/bin/readlink", ["readlink", "/root/.swiftenv/libexec/../libex"...], 0x564d60d822d0 /* 11 vars */) = 0 19 +++ exited with 1 +++ 18 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19, si_uid=0, si_status=1, si_utime=0, si_stime=0} --- 18 +++ exited with 1 +++ 17 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=1, si_utime=0, si_stime=0} --- 20 execve("/usr/bin/dirname", ["dirname", ""], 0x564d60d822d0 /* 11 vars */) = 0 20 +++ exited with 0 +++ 17 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 17 +++ exited with 0 +++ 14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 14 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 21 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 13 execve("/root/.swiftenv/libexec/../libexec/swiftenv-exec", ["/root/.swiftenv/libexec/../libex"..., "--shim", "swiftc", "-o", "/tmp/code", "/tmp/code.swift"], 0x564d60d84b80 /* 10 vars */) = 0 13 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"..., "--shim", "swiftc", "-o", "/tmp/code", "/tmp/code.swift"], 0x7ffe27ac4ce0 /* 10 vars */) = -1 ENOENT (No such file or directory) 13 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"..., "--shim", "swiftc", "-o", "/tmp/code", "/tmp/code.swift"], 0x7ffe27ac4ce0 /* 10 vars */) = 0 23 execve("/root/.swiftenv/libexec/../libexec/swiftenv-which", ["swiftenv-which", "--shim", "swiftc"], 0x55d01ddfcf70 /* 11 vars */) = 0 23 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"..., "--shim", "swiftc"], 0x7ffeeeafe2c8 /* 11 vars */) = -1 ENOENT (No such file or directory) 23 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"..., "--shim", "swiftc"], 0x7ffeeeafe2c8 /* 11 vars */) = 0 24 execve("/root/.swiftenv/libexec/../libexec/swiftenv-version-name", ["swiftenv-version-name"], 0x55a3af481c20 /* 11 vars */) = 0 24 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7ffcade81438 /* 11 vars */) = -1 ENOENT (No such file or directory) 24 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7ffcade81438 /* 11 vars */) = 0 25 execve("/root/.swiftenv/libexec/../libexec/swiftenv-version-file", ["swiftenv-version-file"], 0x556153fafd40 /* 11 vars */) = 0 25 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7ffe9a6d7d38 /* 11 vars */) = -1 ENOENT (No such file or directory) 25 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7ffe9a6d7d38 /* 11 vars */) = 0 25 +++ exited with 0 +++ 24 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 26 execve("/bin/cat", ["cat", "/root/.swiftenv/version"], 0x556153fafd40 /* 11 vars */) = 0 26 +++ exited with 0 +++ 24 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=26, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 24 +++ exited with 0 +++ 23 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 27 execve("/root/.swiftenv/libexec/../libexec/swiftenv-prefix", ["swiftenv-prefix", "4.2.1-RELEASE"], 0x55a3af481c20 /* 11 vars */) = 0 27 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"..., "4.2.1-RELEASE"], 0x7ffd1ee53470 /* 11 vars */) = -1 ENOENT (No such file or directory) 27 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"..., "4.2.1-RELEASE"], 0x7ffd1ee53470 /* 11 vars */) = 0 27 +++ exited with 0 +++ 23 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 28 execve("/root/.swiftenv/libexec/../libexec/swiftenv-prefix", ["swiftenv-prefix"], 0x55a3af481c20 /* 11 vars */) = 0 28 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7ffd40025f78 /* 11 vars */) = -1 ENOENT (No such file or directory) 28 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7ffd40025f78 /* 11 vars */) = 0 29 execve("/root/.swiftenv/libexec/../libexec/swiftenv-version-name", ["swiftenv-version-name"], 0x5643ebf74c20 /* 11 vars */) = 0 29 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7ffec957e8a8 /* 11 vars */) = -1 ENOENT (No such file or directory) 29 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7ffec957e8a8 /* 11 vars */) = 0 30 execve("/root/.swiftenv/libexec/../libexec/swiftenv-version-file", ["swiftenv-version-file"], 0x55823dd5bd40 /* 11 vars */) = 0 30 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7fff35e79bb8 /* 11 vars */) = -1 ENOENT (No such file or directory) 30 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7fff35e79bb8 /* 11 vars */) = 0 30 +++ exited with 0 +++ 29 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 31 execve("/bin/cat", ["cat", "/root/.swiftenv/version"], 0x55823dd5bd40 /* 11 vars */) = 0 31 +++ exited with 0 +++ 29 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 29 +++ exited with 0 +++ 28 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 28 +++ exited with 0 +++ 23 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 23 +++ exited with 0 +++ 22 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=23, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 22 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 32 execve("/root/.swiftenv/libexec/../libexec/swiftenv-version-name", ["swiftenv-version-name"], 0x55d01ddfcf70 /* 11 vars */) = 0 32 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7fff44703568 /* 11 vars */) = -1 ENOENT (No such file or directory) 32 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7fff44703568 /* 11 vars */) = 0 33 execve("/root/.swiftenv/libexec/../libexec/swiftenv-version-file", ["swiftenv-version-file"], 0x557ba3f11d40 /* 11 vars */) = 0 33 execve("/root/.swiftenv/libexec/../libexec/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7fffc5f78eb8 /* 11 vars */) = -1 ENOENT (No such file or directory) 33 execve("/bin/bash", ["bash", "/root/.swiftenv/libexec/../libex"...], 0x7fffc5f78eb8 /* 11 vars */) = 0 33 +++ exited with 0 +++ 32 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 34 execve("/bin/cat", ["cat", "/root/.swiftenv/version"], 0x557ba3f11d40 /* 11 vars */) = 0 34 +++ exited with 0 +++ 32 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=34, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 32 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=32, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 13 execve("/root/.swiftenv/versions/4.2.1-RELEASE/usr/bin/swiftc", ["swiftc", "-o", "/tmp/code", "/tmp/code.swift"], 0x55d01de01f90 /* 10 vars */) = 0 35 execve("/root/.swiftenv/versions/4.2.1-RELEASE/usr/bin/swift", ["/root/.swiftenv/versions/4.2.1-R"..., "-frontend", "-c", "-primary-file", "/tmp/code.swift", "-target", "x86_64-unknown-linux-gnu", "-disable-objc-interop", "-module-name", "code", "-o", "/tmp/code-f4d26f.o"], 0x7ffd2cb0a7a0 /* 10 vars */) = 0 36 +++ exited with 0 +++ 37 +++ exited with 0 +++ 35 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=35, si_uid=0, si_status=0, si_utime=21, si_stime=4} --- 38 execve("/root/.swiftenv/versions/4.2.1-RELEASE/usr/bin/swift-autolink-extract", ["/root/.swiftenv/versions/4.2.1-R"..., "/tmp/code-f4d26f.o", "-o", "/tmp/code-529d11.autolink"], 0x7ffd2cb0a7a0 /* 10 vars */) = 0 38 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=38, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 39 execve("/usr/bin/clang++", ["/usr/bin/clang++", "-fuse-ld=gold", "-pie", "-target", "x86_64-unknown-linux-gnu", "-Xlinker", "-rpath", "-Xlinker", "/root/.swiftenv/versions/4.2.1-R"..., "/root/.swiftenv/versions/4.2.1-R"..., "/tmp/code-f4d26f.o", "@/tmp/code-529d11.autolink", "-L", "/root/.swiftenv/versions/4.2.1-R"..., "-lswiftCore", "--target=x86_64-unknown-linux-gn"..., "-o", "/tmp/code"], 0x7ffd2cb0a7a0 /* 10 vars */) = 0 40 execve("/usr/bin/ld.gold", ["/usr/bin/ld.gold", "-pie", "-z", "relro", "--hash-style=gnu", "--eh-frame-hdr", "-m", "elf_x86_64", "-dynamic-linker", "/lib64/ld-linux-x86-64.so.2", "-o", "/tmp/code", "/usr/bin/../lib/gcc/x86_64-linux"..., "/usr/bin/../lib/gcc/x86_64-linux"..., "/usr/bin/../lib/gcc/x86_64-linux"..., "-L/root/.swiftenv/versions/4.2.1"..., "-L/usr/bin/../lib/gcc/x86_64-lin"..., "-L/usr/bin/../lib/gcc/x86_64-lin"..., "-L/lib/x86_64-linux-gnu", "-L/lib/../lib64", "-L/usr/lib/x86_64-linux-gnu", "-L/usr/bin/../lib/gcc/x86_64-lin"..., "-L/usr/lib/llvm-6.0/bin/../lib", "-L/lib", "-L/usr/lib", "-rpath", "/root/.swiftenv/versions/4.2.1-R"..., "/root/.swiftenv/versions/4.2.1-R"..., "/tmp/code-f4d26f.o", "-lswiftSwiftOnoneSupport", "-lswiftCore", "-lswiftCore", ...], 0x7ffca3ce69e0 /* 10 vars */) = 0 40 +++ exited with 0 +++ 39 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=40, si_uid=0, si_status=0, si_utime=0, si_stime=2} --- 39 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=39, si_uid=0, si_status=0, si_utime=0, si_stime=2} --- 13 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=2} --- 41 execve("/bin/cat", ["cat", "-"], 0x55acf7f02be8 /* 6 vars */) = 0 42 execve("/tmp/code", ["/tmp/code"], 0x55acf7f02bd0 /* 6 vars */) = 0 41 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 42 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=42, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 43 execve("/bin/rm", ["rm", "/tmp/code.swift", "/tmp/code"], 0x55acf7f02bd0 /* 6 vars */) = 0 43 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=43, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 10 +++ exited with 0 +++