Result

WA

Duration

811ms

Code [DL]

i = 0;
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

745 241
573 785
499 424
788 553
944 442
859 552
348 855
397 796
133 833
752 227
923 237
677 336
951 114
155 559
946 433
588 867
781 817
118 119
196 264
854 455
276 515
724 738
526 443
181 684
217 573
455 634
345 224
955 546
561 128
788 385
845 941
629 115

stdout

stderr

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

strace

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