Result

WA

Duration

777ms

Code [DL]

i = 0
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

841 125
688 987
912 962
522 243
717 745
966 113
417 772
544 491
643 347
237 352
595 593
483 434
515 151
833 637
483 698
835 937
533 887
311 652
439 532
749 995
374 371
769 118
566 128
133 335
868 575
115 778
515 117
561 619
851 552
384 248
187 832
266 669

stdout

stderr

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

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe4a94c110 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55b5da8d9d30 /* 7 vars */) = 0
12    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x55b5da8d9d40 /* 7 vars */) = 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 +++