Result

WA

Duration

528ms

Code [DL]

for i in range(32):
    s = input()
    print(+(s[0]>s[1]))

stdin

1230
0321
1032
2103
2103
3210
3012
0321
0321
0321
2301
3210
2103
1230
1032
3210
2103
2103
3012
1230
2301
3012
0123
3012
0123
3012
1230
1032
2103
3210
0321
2301

stdout

0
0
1
1
1
1
1
0
0
0
0
1
1
0
1
1
1
1
1
0
0
1
0
1
0
1
0
1
1
1
0
0

stderr

strace

13    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffad97e978 /* 7 vars */) = 0
15    execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x7fc3c8305250 /* 7 vars */ <unfinished ...>
14    execve("/bin/cat", ["cat", "-"], 0x7fc3c8305238 /* 7 vars */ <unfinished ...>
15    <... execve resumed>)             = 0
14    <... execve resumed>)             = 0
14    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=1, si_stime=0} ---
13    +++ exited with 0 +++