by@platypus999
ERROR
621ms
import sys for s in sys.stdin:print(s[:s.find("__")].count("|"))
|__|___|__ ||__|_____ ||||__|||_ |_|_||_|__ |_||||_||_ |_|__|||__ ||_||_|_|| ||_|__|__| ||__|__||| ||_||_||_| |__|__|_|_ ||||||||__ |||__|_|__ |_|____||_ ||__|_||__ ||_||||_|| |__||_____ ||_|__|||_ ||___|__|_ |_|___||__ |_|||_|_|| ||_||_|_|_ ||__|||__| |__||||||_ ||__||__|| |__||||_|_ ||_|_____| |||||_|__| ||||__||_| |_||_|__||
1 2 4 5 7 2 7 3 2 7 1 8 3 2 2 8 1 3 2 2 7 6 2 1 2 1 3 6 4 4
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd3d9c86f0 /* 7 vars */) = 0 12 execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x55ce5e832d50 /* 7 vars */) = 0 11 execve("/bin/cat", ["cat", "-"], 0x55ce5e832d38 /* 7 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 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=1, si_stime=0} --- 10 +++ exited with 0 +++