Result

WA

Duration

828ms

Code [DL]

for i 0 31 1 do
a,b = io.read("*n","*n")
if a % 10 == a % 100 - a % 10
then io.write (a%10)
else io.write (b/100)
end
end

stdin

219 196
539 934
818 664
926 449
712 221
322 891
744 446
312 496
432 112
634 484
133 831
122 267
384 838
698 991
947 242
717 875
646 631
366 423
714 127
166 449
123 412
826 625
955 552
575 556
551 519
362 825
489 782
355 514
422 928
259 552
486 818
455 442

stdout

stderr

/usr/bin/lua5.3: /volume/CODE:1: '=' or 'in' expected near '0'

strace

14    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff501c52c0 /* 7 vars */) = 0
15    execve("/bin/cat", ["cat", "-"], 0x5644e83c1d30 /* 7 vars */) = 0
16    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x5644e83c1d40 /* 7 vars */) = 0
15    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
16    +++ exited with 1 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
14    +++ exited with 1 +++