Result

WA

Duration

1621ms

Code [DL]

for i in range(30):s=input();print(s[:s.find("__")].count("|"))

stdin

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

stdout

2
5
1
2
4
1
1
6
2
2
4
1
5
4
3
6
1
2
1
4
5
1
6
8
1
2
1
6
2
6

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd28c214a0 /* 7 vars */) = 0
12    execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x55861b68bd50 /* 7 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x55861b68bd38 /* 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    <... execve resumed>)             = 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=1} ---
10    +++ exited with 0 +++