Result

WA

Duration

777ms

Code [DL]

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

stdin

153 654
344 395
375 664
255 956
188 996
644 747
133 223
656 663
388 841
482 418
417 677
741 254
499 995
885 785
685 585
354 469
287 884
929 245
643 336
166 662
368 685
976 635
517 119
497 791
366 612
597 242
164 644
559 667
579 662
411 854
539 293
724 238

stdout

stderr

/usr/bin/lua5.3: /volume/CODE:1: syntax error near 'i'

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc7df90790 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x5566a7e06d30 /* 7 vars */ <unfinished ...>
13    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x5566a7e06d40 /* 7 vars */ <unfinished ...>
12    <... execve resumed>)             = 0
12    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    <... execve resumed>)             = 0
13    +++ exited with 1 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
11    +++ exited with 1 +++