Result

WA

Duration

1068ms

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

677 347
613 883
755 557
625 225
922 675
761 114
971 175
513 355
575 474
823 661
911 335
452 153
823 327
284 138
499 946
611 186
786 881
938 328
533 826
218 182
133 114
288 189
633 239
188 883
376 661
378 859
436 366
465 472
549 199
638 588
248 912
627 239

stdout

3.478.835.572.256.751.141.753.554.746.613.351.533.271.389.461.868.813.288.261.821.141.892.398.836.618.593.664.721.995.889.122.39

stderr

strace

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