Result

WA

Duration

944ms

Code [DL]

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

stdin

675 558
193 669
951 811
811 331
455 852
859 997
146 132
877 761
688 883
833 339
514 173
324 221
632 252
977 346
963 165
915 611
272 643
821 211
743 447
137 731
866 451
266 331
783 838
793 311
324 663
122 278
176 961
911 819
175 967
774 348
268 865
971 784

stdout

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

stderr

strace

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