Result

WA

Duration

792ms

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

828 882
787 556
271 711
247 573
977 474
116 915
769 995
717 184
866 697
755 239
623 328
525 523
934 335
188 892
152 624
895 361
712 269
515 965
282 883
172 332
628 262
942 448
344 647
133 998
825 258
788 116
985 382
244 692
877 771
685 653
822 225
762 279

stdout

stderr

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

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe50ba98c0 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x55ea98330d30 /* 7 vars */ <unfinished ...>
13    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x55ea98330d40 /* 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 +++