by@shell_mug
AC
910ms
::x::a,b=io.read("*n","*n")c=a%10 print(c==a%100//10 and c or b//100)goto x
791 159 726 224 432 233 127 776 947 992 799 983 437 375 856 461 237 731 626 226 985 557 755 665 541 413 611 115 655 557 324 721 822 833 369 641 139 917 515 377 912 376 723 537 448 141 169 637 647 334 544 135 453 514 677 991 788 189 755 323 233 324 599 795
1 2 2 7 9 9 3 4 7 2 5 5 4 1 5 7 2 6 9 3 3 5 1 6 3 4 5 7 8 5 3 9
/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 ?
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd56be8aa0 /* 7 vars */) = 0 11 execve("/bin/cat", ["cat", "-"], 0x5556073a8d30 /* 7 vars */ <unfinished ...> 12 execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x5556073a8d40 /* 7 vars */ <unfinished ...> 11 <... execve resumed>) = 0 12 <... 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 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 +++