Result

WA

Duration

877ms

Code [DL]

FS=A;$0=$2~$3?$2%10:$5

stdin

733 337
515 549
873 377
215 556
662 526
525 211
472 276
677 773
357 554
377 441
297 239
125 558
648 665
824 343
988 988
677 937
664 645
224 221
789 978
449 744
499 498
187 837
411 557
671 527
466 648
129 296
283 995
499 915
496 199
546 456
362 882
211 825

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe027c21d0 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x5576476b5d58 /* 7 vars */ <unfinished ...>
12    execve("/usr/bin/gawk", ["/usr/bin/gawk", "-f", "/volume/CODE"], 0x5576495d8028 /* 7 vars */ <unfinished ...>
11    <... execve resumed>)             = 0
12    <... 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 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++