Result

WA

Duration

960ms

Code [DL]

i = 0;
for(i = 0; i < 32; i = i+1){
a,b = io.read("*n","*n")
if a % 10 == a % 100 - a % 10
then io.write (a%10)
else io.write (b/100)
end
}

stdin

266 347
866 644
471 961
546 677
514 451
553 733
566 667
489 985
322 467
556 958
272 223
341 487
728 236
277 662
334 438
745 997
162 452
488 289
551 513
285 557
199 988
722 229
934 694
592 926
225 826
874 778
459 778
755 757
688 334
331 336
664 545
847 115

stdout

stderr

/usr/bin/lua5.3: /volume/CODE:2: <name> expected near '('

strace

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