Result

AC

Duration

812ms

Code [DL]

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

stdin

612 239
944 848
377 769
189 884
155 353
476 571
436 322
181 667
236 828
977 739
881 114
991 866
355 553
334 332
878 883
288 596
522 339
415 515
468 114
862 429
317 354
693 936
197 794
168 263
365 452
731 926
355 997
366 667
377 393
171 738
571 717
347 735

stdout

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

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

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc861530f0 /* 7 vars */) = 0
12    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x56510d553d40 /* 7 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x56510d553d30 /* 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 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
10    +++ exited with 1 +++