Result

ERROR

Duration

636ms

Code [DL]

for i in range(30):print(input().split("__")[0].count('|'))

stdin

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

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe3e20e8e0 /* 7 vars */) = 0
12    execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x5566cb266d50 /* 7 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x5566cb266d38 /* 7 vars */) = 0
12    <... execve resumed>)             = 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 +++