Result

WA

Duration

930ms

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-b%100)/100)
end
end

stdin

477 759
732 294
899 998
754 551
451 519
465 567
316 862
428 622
646 383
329 663
456 476
534 446
311 616
493 926
554 755
277 713
514 198
366 463
265 556
199 836
733 334
895 236
411 882
547 679
726 261
648 844
322 642
452 557
455 226
443 358
471 221
724 617

stdout

72955586364469771458328628652326

stderr

strace

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