by@shell_mug
AC
783ms
::x::z,a,b=io.read(1,2,2,3)print(a%11>0 and b or~~a%10)goto x
191 964 576 369 842 422 158 224 466 866 988 587 266 568 199 997 553 932 472 468 167 847 956 658 274 441 242 445 984 484 377 443 499 765 933 377 494 557 229 935 856 562 483 338 144 473 625 921 532 332 316 718 622 558 977 364 499 991 326 815 932 371 584 425
9 3 4 2 6 8 6 9 9 4 8 6 4 4 4 7 9 3 5 9 5 3 4 9 3 7 2 7 9 8 3 4
/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"], 0x7ffc3391a910 /* 7 vars */) = 0 11 execve("/bin/cat", ["cat", "-"], 0x55ccc3b29d30 /* 7 vars */) = 0 12 execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x55ccc3b29d40 /* 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 +++