Result

AC

Duration

909ms

Code [DL]

while true do a,b=io.read("*n","*n")if a%10==(a%100-a%10)/10 then io.write(a%10)else io.write((b-b%100)/100)end end

stdin

416 689
199 937
266 662
763 668
515 515
134 142
733 125
115 336
292 553
745 966
526 126
582 823
686 862
355 257
855 551
287 124
622 997
886 636
515 113
497 912
114 125
122 422
767 773
254 846
832 225
953 357
374 491
988 856
277 226
671 895
855 278
447 245

stdout

69665133591885512619127823487852

stderr

/usr/bin/lua5.3: /volume/CODE:1: attempt to perform arithmetic on a nil value (global 'a')
stack traceback:
	/volume/CODE:1: in main chunk
	[C]: in ?

strace

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