Result

WA

Duration

753ms

Code [DL]

::x::a,b=io.read(4,2,2)print(b%11 and~~a%10or~~b%10)goto x

stdin

483 385
622 426
889 889
863 772
586 895
899 543
922 123
143 435
558 524
899 556
135 634
377 738
988 471
551 152
874 463
315 944
297 771
122 632
824 226
196 632
193 844
911 771
677 773
564 946
359 992
969 983
869 691
491 396
729 698
722 227
933 393
843 995

stdout

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

stderr

/usr/bin/lua5.3: /volume/CODE:1: attempt to perform arithmetic on a nil value (global 'b')
stack traceback:
	/volume/CODE:1: in main chunk
	[C]: in ?

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff019cebf0 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x55fb5b67fd30 /* 7 vars */ <unfinished ...>
13    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x55fb5b67fd40 /* 7 vars */ <unfinished ...>
12    <... execve resumed>)             = 0
13    <... execve resumed>)             = 0
12    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    +++ exited with 1 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
11    +++ exited with 1 +++