Result

WA

Duration

933ms

Code [DL]

i = 0;
for i 0 i 31 i 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

544 667
382 884
289 972
399 896
928 811
429 894
764 525
844 113
249 943
822 293
244 446
814 119
511 729
275 877
933 738
473 441
988 599
267 469
964 641
217 971
244 498
876 765
933 332
594 334
465 558
891 199
293 339
799 572
279 782
758 562
759 499
564 984

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"], 0x7fff821759d0 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x557d7e440d30 /* 7 vars */) = 0
13    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x557d7e440d40 /* 7 vars */ <unfinished ...>
12    +++ exited with 0 +++
13    <... execve resumed>)             = 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 +++