Result

WA

Duration

749ms

Code [DL]

a=io.read'*a':gsub("%d+(%d)[%1 ][%d ]+","%1")print(a)

stdin

421 223
949 994
533 237
272 661
433 362
174 461
388 832
338 379
677 585
944 774
718 476
255 853
512 128
525 257
393 197
913 744
637 771
494 345
868 948
255 557
132 335
411 272
897 959
877 115
852 118
625 629
944 443
359 956
581 186
936 687
325 711
431 913

stdout

1
9
3
2
3
4
8
8
7
4
8
5
2
5
3
3
7
4
8
5
2
1
7
7
2
5
4
9
1
6
5
1

stderr

strace

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