Result

WA

Duration

886ms

Code [DL]

int i = 0
for i 0 31 1 do
a,b = io.read("*n","*n")
if a % 10 == a % 100 - a % 10
then io.write (a%10)
else io.write (b/100)
end
end

stdin

299 896
336 662
794 945
711 123
422 991
365 452
627 277
761 339
457 557
522 144
216 917
311 167
563 945
667 278
687 237
352 445
699 991
399 447
899 534
733 335
496 979
559 953
344 548
168 463
116 698
533 321
916 614
979 162
735 559
576 774
389 835
254 481

stdout

stderr

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

strace

13    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc75b57720 /* 7 vars */) = 0
14    execve("/bin/cat", ["cat", "-"], 0x55c9d7a31d30 /* 7 vars */) = 0
15    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x55c9d7a31d40 /* 7 vars */) = 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 +++