Result

AC

Duration

576ms

Code [DL]

exec('print(input().split("__")[0].count("|"));'*30)

stdin

||__|||___
|||___|_|_
|___|____|
||______||
||||_|____
|_||||||||
|__|___|_|
|_||_|_||_
||||__|_||
|||_||__||
|___|__|__
|||___|||_
|___|_____
|||||____|
|||_|||_||
||_||||_|_
|___||___|
|||_|__||_
|||_|_|_||
||__||_|||
||__|_|__|
|||___||_|
||__|__|||
|||||_|||_
|_||_|_|__
|__||_||__
|||_|_|||_
|_|_____||
||___|___|
||_||||_||

stdout

2
3
1
2
5
9
1
6
4
5
1
3
1
5
8
7
1
4
7
2
2
3
2
8
5
1
7
2
2
8

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffa4ab1370 /* 7 vars */) = 0
12    execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x558dd664fd50 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x558dd664fd38 /* 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 +++