by@T0_0WATSON
WA
538ms
s = [input() for i in range(32)] for i in range(32): print(+('01' or '23' in s[i]))
1032 2301 3012 1230 2301 3210 0123 1230 0321 1032 0123 2103 1032 3210 1032 3210 2103 3012 0321 2301 2103 0321 1230 3210 3012 0321 0123 3012 1230 1032 1230 2103
Traceback (most recent call last): File "/volume/CODE", line 3, in <module> print(+('01' or '23' in s[i])) TypeError: bad operand type for unary +: 'str'
12 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc2f6be428 /* 7 vars */) = 0 14 execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x7f4de6a7c250 /* 7 vars */ <unfinished ...> 13 execve("/bin/cat", ["cat", "-"], 0x7f4de6a7c238 /* 7 vars */) = 0 14 <... execve resumed>) = 0 13 +++ exited with 0 +++ 12 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 14 +++ exited with 1 +++ 12 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=1, si_utime=1, si_stime=0} --- 12 +++ exited with 1 +++